-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile.dist
90 lines (71 loc) · 2.45 KB
/
Makefile.dist
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# $Id: Makefile.dist,v 1.32 2008/11/04 15:35:08 tho Exp $
include common.mk
ifndef DOCS
PKG_NAME = makl
else # DOCS
PKG_NAME = makl-and-docs
endif
PKG_VERSION = $(shell cat VERSION)
ZIP ?= gzip
ZIPEXT ?= gz
DISTFILES = Makefile VERSION README LICENSE ChangeLog INSTALL THANKS
DISTFILES += configure configure.sh configure.help
# auto configuration (cf files)
DISTFILES += $(wildcard cf/makl*) $(wildcard cf/helpers/makl*)
DISTFILES += cf/Makefile cf/helpers/Makefile
ifdef DOCS
DISTFILES += doc/Makefile doc/dokl.sh doc/makl.doxy doc/images/kl_bg.png
DISTFILES += doc/src/kl.css doc/src/kl_footer.html
DISTFILES += $(shell find doc/html -type f)
endif # DOCS
# misc
DISTFILES += misc/Makefile
# maklsh
DISTFILES += bin/maklsh.in
DISTFILES += bin/Makefile
DISTFILES += bin/lib/Makefile
DISTFILES += $(wildcard bin/lib/maklsh*)
# build (mk files)
DISTFILES += $(wildcard mk/*.mk)
DISTFILES += $(wildcard mk/priv/*.mk)
DISTFILES += mk/Makefile mk/priv/Makefile
# configuration (etc files)
DISTFILES += etc/args.cf etc/map.mk etc/vars.cf etc/funcs.cf
DISTFILES += etc/Makefile
# helpers
DISTFILES += helpers/lorder helpers/mkdep.gcc.sh helpers/mkinstalldirs
DISTFILES += helpers/Makefile
# setup
DISTFILES += setup/shell_setup.sh setup/tc_setup.sh setup/env_setup.sh
DISTFILES += setup/Makefile
# toolchain
DISTFILES += $(wildcard tc/*tc) tc/README
DISTFILES += $(wildcard shlib/*.mk) shlib/README
DISTFILES += tc/Makefile shlib/Makefile
# man files
DISTFILES += doc/man/Makefile
DISTFILES += $(wildcard doc/man/*.1)
DISTFILES += $(wildcard doc/man/*.xml)
# bootstrap files
DISTFILES += $(wildcard boot/*.cfg)
# templates
DISTFILES += $(wildcard tmpl/*tmpl) tmpl/Makefile
# testing
#DISTFILES += test/configure test/Makefile test/Makefile.subdir
#DISTFILES += $(wildcard test/party/*.c) test/party/party.tar.gz \
test/party/Makefile
#DISTFILES += test/partyplain/proggie-1.0.0.tar.gz test/partyplain/Makefile
#DISTFILES += $(wildcard test/prog/*.c) test/prog/Makefile
#DISTFILES += test/autoprog/Makefile
#DISTFILES += $(wildcard test/lib/*.c*) test/lib/Makefile
#DISTFILES += $(wildcard test/include/*.h) test/include/Makefile
#DISTFILES += $(wildcard test/man/*.[13]) test/man/Makefile
#DISTFILES += test/xeno/Makefile
#DISTFILES += test/xeno/autotool/Makefile test/xeno/autotool/libevent.patch
#DISTFILES += test/xeno/svn/Makefile test/xeno/svn/ffmpeg-rev7407.patch
include dist.mk
dist-hook-pre:
(cd doc/man && $(MAKE))
ifdef DOCS
(cd doc/ && $(MAKE))
endif # DOCS