Author: djpig
Date: 2007-07-03 23:42:39 +0000 (Tue, 03 Jul 2007)
New Revision: 842
Modified:
trunk/TODO
trunk/man/ChangeLog
trunk/man/Makefile.am
Log:
Fix 'make distcheck' by adding uninstall-local target to
man/Makefile.am that removes the translated man pages.
Modified: trunk/TODO
===================================================================
--- trunk/TODO 2007-07-03 23:37:08 UTC (rev 841)
+++ trunk/TODO 2007-07-03 23:42:39 UTC (rev 842)
@@ -14,8 +14,6 @@
* Make dpkg bootstrappable (modularize dpkg-architecture).
- * Fix 'make dist', po4a seems at fault.
-
* Support udeb natively:
- Add field Package-Type and friends.
- Generate proper Packages files. (#383916)
Modified: trunk/man/ChangeLog
===================================================================
--- trunk/man/ChangeLog 2007-07-03 23:37:08 UTC (rev 841)
+++ trunk/man/ChangeLog 2007-07-03 23:42:39 UTC (rev 842)
@@ -1,3 +1,9 @@
+2007-07-04 Frank Lichtenheld <[EMAIL PROTECTED]>
+
+ * Makefile.am (uninstall-local): New target to
+ remove the translated man pages. Detected with
+ the help of 'make distcheck'.
+
2007-07-02 Frank Lichtenheld <[EMAIL PROTECTED]>
* po/dpkg-man.pot: Regenerated.
Modified: trunk/man/Makefile.am
===================================================================
--- trunk/man/Makefile.am 2007-07-03 23:37:08 UTC (rev 841)
+++ trunk/man/Makefile.am 2007-07-03 23:42:39 UTC (rev 842)
@@ -27,6 +27,17 @@
fi \
done
+uninstall-local:
+ for lang in $(LINGUAS); do \
+ if [ -d $(srcdir)/$$lang ]; then \
+ files=$$(echo $(srcdir)/$$lang/*.[1-9]); \
+ $(MAKE) uninstall-man \
+ mandir="$(mandir)/$$lang" \
+ man_MANS="" \
+ dist_man_MANS="$$files"; \
+ fi \
+ done
+
dist-hook: man.stamp
cp $(srcdir)/man.stamp $(distdir)/
for lang in $(LINGUAS); do \
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]