Adding a Frequently Asked Questions file
[freeglut] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 SUBDIRS = src include progs doc
4 AUTOMAKE_OPTIONS = gnu
5
6 EXTRA_DIST = \
7         README.win32 LISEZ_MOI \
8         freeglut.lsm autogen.sh \
9         freeglut.kdevprj freeglut.kdevelop \
10         freeglut.dsp freeglut.dsw \
11         freeglut_static.dsp \
12         freeglut_evc4.vcp freeglut_evc4.vcw
13
14 # Thanks to WinDoze, some files in CVS have the "execute" bit set when they
15 # shoudn't. We could fix this if we had direct access to the CVS repository,
16 # but we are not that lucky. Instead we fix this at distribution creation time.
17 dist-hook:
18         find $(distdir) -type f \( \
19             -name "*.c" -o \
20             -name "*.dsp" -o \
21             -name "*.dsw" -o \
22             -name "*.h" -o \
23             -name "*.html" -o \
24             -name "*.png" -o \
25             -name "LISEZ_MOI" -o \
26             -name "README*" \
27             \) -exec chmod -x {} \;
28
29 libtool: $(LIBTOOL_DEPS)
30         $(SHELL) ./config.status --recheck