]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Fix "make distcheck" for newer automake installations.
authorMatthias Andree <matthias.andree@gmx.de>
Sun, 5 Jan 2003 01:30:47 +0000 (02:30 +0100)
committerMatthias Andree <matthias.andree@gmx.de>
Sun, 5 Jan 2003 01:30:47 +0000 (02:30 +0100)
Newer automakes create the distdirs read-only,
so Makefile.am's "dist-hook" target was unable to run unix2dos
in $(distdir)/ports/winnt and choked "make distcheck".

bk: 3e178ac7TOTGoqOTWmvOkdM2qBFO9Q

Makefile.am

index 265ad9f14a966951a983d5eff92089c677d5f9ea..8bbe0b837bc4aee8118c40e248c55fe233bc623a 100644 (file)
@@ -78,6 +78,7 @@ $(srcdir)/version: FRC.version
 dist-hook:
        @find $(distdir) -type d -name CVS -print | xargs rm -rf
        @find $(distdir) -type d -name SCCS -print | xargs rm -rf
+       @chmod u+w $(distdir)/ports/winnt
        @for i in `find $(distdir)/ports/winnt -type f -name '*.ds*' -print`; \
           do chmod u+w $$i ; unix2dos $$i $$i; done