]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 2649] Clean up html/ page installation
authorHarlan Stenn <stenn@ntp.org>
Sat, 6 Sep 2014 09:38:30 +0000 (05:38 -0400)
committerHarlan Stenn <stenn@ntp.org>
Sat, 6 Sep 2014 09:38:30 +0000 (05:38 -0400)
bk: 540ad616GMTagrdxT-HBmGzVx134dA

Makefile.am

index f3a8712496f3203e3489ca7b8783970528b2ce49..55748b714a701ba729211ca642f80868e3f452d9 100644 (file)
@@ -112,6 +112,8 @@ dist-hook:
        @find $(distdir) -type d -name SCCS -print | xargs rm -rf
 
 install-data-local:
+       ( cd $(srcdir) && find html -name SCCS -prune -o -type d \
+               -exec $(INSTALL) -d {} $(DESTDIR)$(htmldir)/{} ";" )
        ( cd $(srcdir) && find html -name SCCS -prune -o -type f \
                -exec $(INSTALL_DATA) {} $(DESTDIR)$(htmldir)/{} ";" )