X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=Makefile.am;h=fb0050c698541a8c2f21d56a34cb96f5f3b9eb56;hb=a14928fc505633d395e18db84ce7dbfd7386fa5f;hp=c804a85f3a0590244f4bd68864ad50731c8c5f56;hpb=e3d7d342f3d217b104468e7c4b338bdfc31fc1c8;p=freeglut diff --git a/Makefile.am b/Makefile.am index c804a85..fb0050c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,7 +4,6 @@ SUBDIRS = src include progs doc AUTOMAKE_OPTIONS = gnu EXTRA_DIST = \ - AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ README.win32 LISEZ_MOI \ freeglut.lsm autogen.sh \ freeglut.kdevprj freeglut.kdevelop \ @@ -12,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