Created
July 26, 2012 17:44
-
-
Save wor/3183428 to your computer and use it in GitHub Desktop.
Makefile patch for devscripts-2.10.69+squeeze2. Fixes "Spurious =pod command at line.." errors.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment