X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=Makefile.am;h=fb0050c698541a8c2f21d56a34cb96f5f3b9eb56;hb=ce2e5aba172eb85cda2b4f047bdcf9f54d019fd7;hp=76c3a005ac1d2317e1b5a9548142b62c3d4c2ea5;hpb=0251d50c1ef8ad0d71922da5e0db495986766d87;p=freeglut diff --git a/Makefile.am b/Makefile.am index 76c3a00..fb0050c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,5 +11,20 @@ EXTRA_DIST = \ freeglut_static.dsp \ freeglut_evc4.vcp freeglut_evc4.vcw +# Thanks to WinDoze, some files in CVS have the "execute" bit set when they +# shoudn't. We could fix this if we had direct access to the CVS repository, +# but we are not that lucky. Instead we fix this at distribution creation time. +dist-hook: + find $(distdir) -type f \( \ + -name "*.c" -o \ + -name "*.dsp" -o \ + -name "*.dsw" -o \ + -name "*.h" -o \ + -name "*.html" -o \ + -name "*.png" -o \ + -name "LISEZ_MOI" -o \ + -name "README*" \ + \) -exec chmod -x {} \; + libtool: $(LIBTOOL_DEPS) $(SHELL) ./config.status --recheck