[Debian-in-commits] [hyphen-indic] 03/11: Loop over individual makefiles

Balasankar C balasankarc-guest at moszumanska.debian.org
Mon Oct 26 18:39:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

balasankarc-guest pushed a commit to branch master
in repository hyphen-indic.

commit 262ac27ff16769e9d38167ac4b56be02386b0814
Author: Balasankar C <balasankarc at autistici.org>
Date:   Mon Oct 26 22:10:14 2015 +0530

    Loop over individual makefiles
---
 debian/rules | 29 +++++++----------------------
 1 file changed, 7 insertions(+), 22 deletions(-)

diff --git a/debian/rules b/debian/rules
index 5c1cebc..c8c54d3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,32 +1,17 @@
 #!/usr/bin/make -f
-# See debhelper(7) (uncomment to enable)
-# output every command that modifies files on the build system.
-#export DH_VERBOSE = 1
 
-# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/default.mk
 
-# see FEATURE AREAS in dpkg-buildflags(1)
-#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-# see ENVIRONMENT in dpkg-buildflags(1)
-# package maintainers to append CFLAGS
-#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
-# package maintainers to append LDFLAGS
-#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+langs=as_IN bn_IN gu_IN hi_IN kn_IN ml_IN mr_IN or_IN pa_IN ta_IN te_IN
 
-
-# main packaging script based on dh7 syntax
 %:
-	dh $@ 
-
-# dh_make generated override targets
-# This is example for Cmake (See https://bugs.debian.org/641051 )
-#override_dh_auto_configure:
-#	dh_auto_configure -- \
-#	-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
-
-
+	dh $@
 
+override_dh_auto_install:
+	$(foreach lang,$(langs),dh_auto_install --sourcedir=$(lang);)
 
+override_dh_installchangelogs:
+	#As the changelog file is common for all binary packages, installing only one
+	dh_installchangelogs as_IN/ChangeLog

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-in/hyphen-indic.git



More information about the Debian-in-commits mailing list