diff options
author | Ludovic Courtès | 2012-05-29 23:39:05 +0200 |
---|---|---|
committer | Ludovic Courtès | 2012-05-30 15:11:23 +0200 |
commit | afff4ef3d064f642e9eddf511b429e7efead3614 (patch) | |
tree | 16829c53aad51a5ba6bc24f1de3b46b60a057f7b /doc | |
parent | 22c686f388d700c89119a277f1a318e062d0282c (diff) | |
download | skribilo-afff4ef3d064f642e9eddf511b429e7efead3614.tar.gz skribilo-afff4ef3d064f642e9eddf511b429e7efead3614.tar.lz skribilo-afff4ef3d064f642e9eddf511b429e7efead3614.zip |
build: Remove potential `.png' files in $(infodir) before recreating them.
* doc/user/Makefile.am (install-data-hook): Remove the symlink's target
before creating it.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/user/Makefile.am b/doc/user/Makefile.am index a9e9448..b2920a5 100644 --- a/doc/user/Makefile.am +++ b/doc/user/Makefile.am @@ -128,7 +128,8 @@ install-data-hook: $(INSTALL_DATA) user-*.html *.png "$(DESTDIR)$(htmldir)" $(MKDIR_P) "$(DESTDIR)$(infodir)" for i in "$(DESTDIR)$(htmldir)/"*.png; do \ - (cd "$(DESTDIR)$(infodir)"; $(LN_S) "$$i"); \ + (cd "$(DESTDIR)$(infodir)"; \ + rm -f "`basename $$i`"; $(LN_S) "$$i"); \ done uninstall-local: |