Skip to content

Commit 98482bb

Browse files
author
jef
committed
debian packaging update: include templates in clean
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13673 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent f598425 commit 98482bb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

debian/rules

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ $(2): $(1)
6767
-e "s/{QGIS_ABI}/$(QGIS_ABI)/g" \
6868
-e "s/{GRASS}/$(GRASS)/g" \
6969
-e "s/{GRASS_ABI}/$(GRASS_ABI)/g" $$^ >$$@
70+
71+
templateclean::
72+
rm -f $(2)
7073
endef
7174

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

9396
touch $@
9497

95-
clean: $(TEMPLATES)
98+
clean: templateclean debian/control
9699
dh_testdir
97100
dh_testroot
98101
rm -f build-stamp

0 commit comments

Comments
 (0)