Skip to content

Commit

Permalink
debian packaging update: include templates in clean
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@13673 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jun 6, 2010
1 parent a96b385 commit 93f117c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ $(2): $(1)
-e "s/{QGIS_ABI}/$(QGIS_ABI)/g" \
-e "s/{GRASS}/$(GRASS)/g" \
-e "s/{GRASS_ABI}/$(GRASS_ABI)/g" $$^ >$$@

templateclean::
rm -f $(2)
endef

TEMPLATES := $(foreach t,$(wildcard debian/*.in debian/*.$(DISTRIBUTION)),$(basename $(t)))
Expand All @@ -92,7 +95,7 @@ build-stamp: debian/build/CMakeCache.txt

touch $@

clean: $(TEMPLATES)
clean: templateclean debian/control
dh_testdir
dh_testroot
rm -f build-stamp
Expand Down

0 comments on commit 93f117c

Please sign in to comment.