-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
27 lines (24 loc) · 848 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
AUTOMAKE_OPTIONS = gnits
# Gnulib:
ACLOCAL_AMFLAGS = -I gnulib/m4
SUBDIRS = gnulib/lib gnulib/po nsis po src share
# Copy those directly and recursively:
# Build system
EXTRA_DIST = acsite.m4 bootstrap gnulib/m4/gnulib-cache.m4
# Documentation
EXTRA_DIST += doc
EXTRA_DIST += BUILD DEB TRANSLATIONS.txt TROUBLESHOOTING
# Packaging
EXTRA_DIST += debian freedink.spec psp
# Other programs of interest
EXTRA_DIST += test contrib
# Developer tools
EXTRA_DIST += valgrind
dist-hook:
find $(distdir) -name '*~' | xargs -r rm -f
# Remove .gitignore files; e.g. they prevent 'git-buildpackage'
# from importing ignored files from release tarballs
find $(distdir) -name '.gitignore' | xargs -r rm -f
# At the end of each line (doubled $), add a \r, so we get \r\n
cd $(distdir) && sed 's/$$/\r/' README > README.txt
make -C $(distdir)/test/sdl clean