public
Last active

Makefile patch for devscripts-2.10.69+squeeze2. Fixes "Spurious =pod command at line.." errors.

  • Download Gist
Makefile_pod.patch
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13 14
--- po4a/Makefile 2012-07-26 12:29:17.194077660 +0300
+++ po4a/Makefile 2012-07-26 12:29:09.604077482 +0300
@@ -14,6 +14,11 @@
rm -f $(GEN_TR_MAN1S) translate ../scripts/devscripts.1
fr/%.fr.1: fr/%.fr.pl translate
+ if test "$<" == "fr/dcontrol.fr.pl" -o \
+ "$<" == "fr/dget.fr.pl" -o \
+ "$<" == "fr/rmadison.fr.pl"; then \
+ sed -i 's/^=pod//' $<; \
+ fi
podchecker $<
pod2man --utf8 --center=" " --release="Utilitaires Debian" $< > $@
fr/%.fr.1: fr/%.fr.dbk translate

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.