* man/generate_mans.mak: The xml-config files do not depend on the

Makefile.
This commit is contained in:
nekral-guest 2011-11-06 18:40:11 +00:00
parent 7861eaa5ec
commit 45154f1d68
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-11-06 Nicolas François <nicolas.francois@centraliens.net>
* man/generate_mans.mak: The xml-config files do not depend on the
Makefile.
2011-10-31 Nicolas François <nicolas.francois@centraliens.net> 2011-10-31 Nicolas François <nicolas.francois@centraliens.net>
* src/chage.c, src/chgpasswd.c, src/chpasswd.c, src/chsh.c, * src/chage.c, src/chgpasswd.c, src/chpasswd.c, src/chsh.c,

View File

@ -21,7 +21,7 @@ SHA_CRYPT_COND=no_sha_crypt
endif endif
if ENABLE_REGENERATE_MAN if ENABLE_REGENERATE_MAN
%.xml-config: %.xml Makefile %.xml-config: %.xml
if grep -q SHADOW-CONFIG-HERE $<; then \ if grep -q SHADOW-CONFIG-HERE $<; then \
sed -e 's/^<!-- SHADOW-CONFIG-HERE -->/<!ENTITY % config SYSTEM "config.xml">%config;/' $< > $@; \ sed -e 's/^<!-- SHADOW-CONFIG-HERE -->/<!ENTITY % config SYSTEM "config.xml">%config;/' $< > $@; \
else \ else \