[debian-edu-commits] debian-edu/ 07/08: Adjust Makefile to reflect the changes.

Wolfgang Schweer schweer-guest at moszumanska.debian.org
Sun Mar 11 17:25:50 UTC 2018


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

schweer-guest pushed a commit to branch master
in repository desktop-profiles.

commit 491ceb8a820a3f55db3c2b4507f79f41744836fd
Author: Wolfgang Schweer <wschweer at arcor.de>
Date:   Sun Mar 11 18:23:00 2018 +0100

    Adjust Makefile to reflect the changes.
---
 Makefile            | 38 ++------------------------------------
 dh_installlisting.1 | 27 ++++++++++++++++-----------
 2 files changed, 18 insertions(+), 47 deletions(-)

diff --git a/Makefile b/Makefile
index 28d67c4..d15f55a 100644
--- a/Makefile
+++ b/Makefile
@@ -5,39 +5,13 @@ PREFIX = /usr
 
 BUILD_DATE = $(shell dpkg-parsechangelog --show-field Date)
 
-build: documentation l10n check
+build: documentation check
 
 documentation: dh_installlisting.1
 dh_installlisting.1: dh_installlisting
 	pod2man dh_installlisting > dh_installlisting.1
 
-pot: po/profile-manager.pot
-	kmdr2po profile-manager.kmdr
-	mkdir -p po/
-	msgmerge po/profile-manager.pot profile-manager.po > po/profile-manager.pot.new
-	mv po/profile-manager.pot.new po/profile-manager.pot && rm profile-manager.po
-	# @i18n strings aren't picked up by kdmr2po at the moment
-	echo  >> po/profile-manager.pot
-	echo 'msgid "Save Changes"' >> po/profile-manager.pot
-	echo 'msgstr ""' >> po/profile-manager.pot
-
-# Add language-targets as they're added
-# install-l10n will be called from debian rules
-l10n: po/ca.mo po/cs.mo po/eu.mo po/fr.mo po/it.mo po/nl.mo po/pt.mo po/pt_BR.mo po/sv.mo po/vi.mo
-install-l10n: install-ca.mo install-cs.mo install-eu.mo install-fr.mo install-it.mo install-nl.mo install-pt.mo install-pt_BR.mo install-sv.mo install-vi.mo
-update-l10n: update-ca.mo update-cs.po update-eu.po update-fr.po update-it.po update-nl.po update-pt.po update-pt_BR.po update-sv.po update-vi.po
-
-po/%.mo: po/%.po update-%.po
-	msgfmt -o $@ $<
-
-install-%.mo: po/%.mo
-	install -d $(DESTDIR)${PREFIX}/share/locale/$*/LC_MESSAGES/
-	install --mode 644 $< $(DESTDIR)${PREFIX}/share/locale/$*/LC_MESSAGES/profile-manager.mo
-
-update-%.po: po/%.po po/profile-manager.pot
-	cd po && intltool-update -g profile-manager -d $*
-
-install: install-l10n
+install:
 	./dh_installlisting
 
 zip-tests:
@@ -47,17 +21,9 @@ zip-tests:
 			--file=tests.tgz --mtime="$(BUILD_DATE)" \
 			--owner=root --group=root --numeric-owner
 
-i18n-status:
-	for d in po debian/po; do \
-	  for f in $$d/*.po; do \
-	    printf "%s " $$f; msgfmt --output /dev/null --statistics $$f; \
-	  done; \
-	done
-
 check: zip-tests
 
 clean:
-	if(ls po/*.mo 2> /dev/null > /dev/null); then rm po/*.mo; fi;
 	if(test -e tests.tgz); then rm tests.tgz; fi
 
 distclean: clean
diff --git a/dh_installlisting.1 b/dh_installlisting.1
index 5e2fa98..12e9380 100644
--- a/dh_installlisting.1
+++ b/dh_installlisting.1
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16)
+.\" Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35)
 .\"
 .\" Standard preamble:
 .\" ========================================================================
@@ -38,26 +38,31 @@
 .    ds PI \(*p
 .    ds L" ``
 .    ds R" ''
+.    ds C`
+.    ds C'
 'br\}
 .\"
 .\" Escape single quotes in literal strings from groff's Unicode transform.
 .ie \n(.g .ds Aq \(aq
 .el       .ds Aq '
 .\"
-.\" If the F register is turned on, we'll generate index entries on stderr for
+.\" If the F register is >0, we'll generate index entries on stderr for
 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
 .\" entries marked with X<> in POD.  Of course, you'll have to process the
 .\" output yourself in some meaningful fashion.
-.ie \nF \{\
-.    de IX
-.    tm Index:\\$1\t\\n%\t"\\$2"
+.\"
+.\" Avoid warning from groff about undefined register 'F'.
+.de IX
 ..
-.    nr % 0
-.    rr F
-.\}
-.el \{\
+.if !\nF .nr F 0
+.if \nF>0 \{\
 .    de IX
+.    tm Index:\\$1\t\\n%\t"\\$2"
 ..
+.    if !\nF==2 \{\
+.        nr % 0
+.        nr F 2
+.    \}
 .\}
 .\"
 .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
@@ -124,7 +129,7 @@
 .\" ========================================================================
 .\"
 .IX Title "DH_INSTALLLISTING 1"
-.TH DH_INSTALLLISTING 1 "2006-12-13" "perl v5.14.2" "User Contributed Perl Documentation"
+.TH DH_INSTALLLISTING 1 "2018-03-11" "perl v5.26.1" "User Contributed Perl Documentation"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
@@ -148,7 +153,7 @@ given as argument will be installed in etc/desktop\-profiles as
 package_file.listing. The format of .listing files is described in 
 \&\fIdesktop\-profiles\fR\|(7).
 .PP
-A dependancy on desktop-profiles will be added to misc:Depends by using this 
+A dependency on desktop-profiles will be added to misc:Depends by using this
 script.
 .SH "SEE ALSO"
 .IX Header "SEE ALSO"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/upstream/desktop-profiles.git



More information about the debian-edu-commits mailing list