diff options
Diffstat (limited to 'contrib/ntp/Makefile.am')
-rw-r--r-- | contrib/ntp/Makefile.am | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/contrib/ntp/Makefile.am b/contrib/ntp/Makefile.am index fc76719f04289..11b20bfdb971c 100644 --- a/contrib/ntp/Makefile.am +++ b/contrib/ntp/Makefile.am @@ -34,6 +34,7 @@ EXTRA_DIST = \ NOTES.y2kfixes \ README.bk \ README.hackers \ + README.leapsmear \ README.patches \ README.refclocks \ README.versions \ @@ -113,10 +114,13 @@ 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)/{} ";" ) + @echo "Installing stand-alone HTML documentation" + @( cd $(srcdir) && \ + for i in `find html -type d | grep -v SCCS` ; \ + do $(INSTALL) -d $(DESTDIR)$(htmldir)/$$i ; done ) + @( cd $(srcdir) && \ + for i in `find html -type f | grep -v SCCS` ; \ + do $(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i ; done ) uninstall-local: rm -rf $(DESTDIR)$(htmldir)/html |