mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-06 21:20:07 +00:00
50 lines
1.6 KiB
Makefile
50 lines
1.6 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
SUBDIRS= RPM debian doc include libs hw nq qtv qw tools ruamoko pkg-config
|
|
|
|
## configure.ac needs to be listed here for older autoconfs
|
|
EXTRA_DIST= ChangeLog configure.ac \
|
|
tools/cross/cross-configure.sh tools/cross/cross-make.sh \
|
|
tools/cross/cross.sh \
|
|
tools/gas2masm/Makefile tools/gas2masm/gas2masm.c \
|
|
tools/gas2masm/gas2masm.dsp tools/gas2masm/gas2masm.dsw \
|
|
tools/gas2masm/gas2masm.mak tools/gas2masm/gas2masm.mdp
|
|
|
|
NOCONV_DIST= $(distdir)/include/win32/resources/icon1.ico
|
|
|
|
changelog: ChangeLog
|
|
ChangeLog: FORCE
|
|
@if test -d "$(top_srcdir)/.git"; then \
|
|
echo "creating ChangeLog" && \
|
|
( cd "$(top_srcdir)" && \
|
|
echo 'This file is generated by Makefile; do not edit.'; \
|
|
echo; \
|
|
./missing --run git log --abbrev-commit --stat --no-merges \
|
|
) > $(top_builddir)/ChangeLog; \
|
|
else \
|
|
echo 'A git clone is required to generate ChangeLog' >&2; \
|
|
fi
|
|
|
|
dist-zip: distdir
|
|
-chmod -R a+r $(distdir)
|
|
ZIP="-r9q" zip $(distdir).zip $(NOCONV_DIST)
|
|
ZIP="-r9ql" zip $(distdir).zip $(distdir) -x $(NOCONV_DIST)
|
|
-rm -rf $(distdir)
|
|
|
|
dist-bz2: distdir
|
|
-chmod -R a+r $(distdir)
|
|
$(AMTAR) -cho $(distdir) | bzip2 -9 > $(distdir).tar.bz2
|
|
-rm -rf $(distdir)
|
|
|
|
dist-all-local: distdir
|
|
-chmod -R a+r $(distdir)
|
|
GZIP=$(GZIP_ENV) $(AMTAR) chozf $(distdir).tar.gz $(distdir)
|
|
$(AMTAR) -cho $(distdir) | bzip2 -9 > $(distdir).tar.bz2
|
|
ZIP="-r9q" zip $(distdir).zip $(NOCONV_DIST)
|
|
ZIP="-r9ql" zip $(distdir).zip $(distdir) -x $(NOCONV_DIST)
|
|
-rm -rf $(distdir)
|
|
|
|
FORCE:
|