[grass] 01/04: Reorder non-override targets in rules file.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Mon Mar 28 14:09:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository grass.
commit 8f27e41c69eb30c540f772ac53622471d8e5b961
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Thu Mar 10 20:40:30 2016 +0100
Reorder non-override targets in rules file.
---
debian/rules | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/debian/rules b/debian/rules
index 9ea11ba..e1af716 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,6 +19,11 @@ versions:
@echo "Version: $(VERSION)"
@echo "ABI: $(ABI)"
+templates:
+ for TEMPLATE in $(TEMPLATES) ; do \
+ sed -e 's/@VERSION@/$(VERSION)/g' -e 's/@ABI@/$(ABI)/g' $$TEMPLATE > `echo $$TEMPLATE | sed 's/.in$$//'` ; \
+ done
+
%:
dh $@ --with autotools_dev,python2 --parallel
@@ -55,11 +60,6 @@ override_dh_clean:
$(RM) -r lib/$$LIBRARY/html lib/$$LIBRARY/latex ; \
done
-templates:
- for TEMPLATE in $(TEMPLATES) ; do \
- sed -e 's/@VERSION@/$(VERSION)/g' -e 's/@ABI@/$(ABI)/g' $$TEMPLATE > `echo $$TEMPLATE | sed 's/.in$$//'` ; \
- done
-
override_dh_auto_clean:
[ ! -f $(CURDIR)/include/Make/Platform.make ] || $(MAKE) distclean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/grass.git
More information about the Pkg-grass-devel
mailing list