summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 56c82fe8329ccffcad6386825e6759ebef2521de (plain)
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
AUX_DIST_GEN =                          \
        $(ac_aux_dir)/install-sh        \
        $(ac_aux_dir)/missing

MSVC_FILES=                             \
        msvc/README                     \
        msvc/config.h                   \
        msvc/inttypes.h                 \
        msvc/stdint.h                   \
        msvc/win32.rc                   \
        msvc/ChocolateDoom.sln          \
        msvc/ChocolateDoom.vcproj

CODEBLOCKS_FILES=                              \
	codeblocks/config.h                    \
	codeblocks/game.cbp                    \
	codeblocks/game-res.rc                 \
	codeblocks/libpcsound.cbp              \
	codeblocks/main.workspace              \
	codeblocks/README                      \
	codeblocks/server.cbp                  \
	codeblocks/setup.cbp                   \
	codeblocks/setup-res.rc                \
	codeblocks/textscreen.cbp

DATA_FILES=                   \
        data/README           \
        data/doom.ico         \
        data/doom8.ico        \
        data/doom.png         \
        data/setup.ico        \
        data/setup8.ico       \
        data/setup.png        \
        data/convert-icon

DOC_FILES=                              \
        CMDLINE                         \
        README                          \
        README.OPL                      \
        NEWS                            \
        ChangeLog                       \
        NOT-BUGS

EXTRA_DIST=                             \
        $(AUX_DIST_GEN)                 \
        $(MSVC_FILES)                   \
        $(CODEBLOCKS_FILES)             \
        $(DATA_FILES)                   \
        $(DOC_FILES)                    \
        .lvimrc                         \
        HACKING                         \
        TODO                            \
        rpm.spec

docdir=$(prefix)/share/doc/@PACKAGE@
doc_DATA=$(DOC_FILES)

MAINTAINERCLEANFILES =  $(AUX_DIST_GEN)

SUBDIRS=wince textscreen opl pcsound src man setup
DIST_SUBDIRS=pkg $(SUBDIRS)

if HAVE_PYTHON

noinst_DATA=CMDLINE

CMDLINE : src/
	./man/docgen -p man/CMDLINE.template src/ > $@

INSTALL : man/INSTALL.template man/simplecpp
	./man/simplecpp < man/INSTALL.template > $@

endif