Makefile.am 1.97 KB
Newer Older
1 2 3 4
AUX_DIST_GEN =                          \
        $(ac_aux_dir)/install-sh        \
        $(ac_aux_dir)/missing

5 6 7 8 9 10 11 12
CMAKE_FILES=                                   \
        CMakeLists.txt                         \
        cmake/FindSDL2.cmake                   \
        cmake/FindSDL2_mixer.cmake             \
        cmake/FindSDL2_net.cmake               \
        cmake/Findm.cmake                      \
        cmake/Findsamplerate.cmake             \
        cmake/config.h.cin
13 14

DOC_FILES=                              \
15
        COPYING.md                      \
16 17 18 19 20 21 22 23
        README.md                       \
        README.Music.md                 \
        NEWS.md                         \
        PHILOSOPHY.md                   \
        ChangeLog

EXTRA_DIST=                             \
        $(AUX_DIST_GEN)                 \
24
        $(CMAKE_FILES)                  \
25 26 27 28 29 30
        $(DOC_FILES)                    \
        NOT-BUGS.md                     \
        README.Strife.md                \
        .lvimrc                         \
        HACKING.md                      \
        TODO.md                         \
31 32 33
        rpm.spec                        \
        win32/win_opendir.c             \
        win32/win_opendir.h
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56

doomdocsdir = ${docdir}/../${PROGRAM_PREFIX}doom
doomdocs_DATA = $(DOC_FILES) NOT-BUGS.md

#hereticdocsdir = ${docdir}/../${PROGRAM_PREFIX}heretic
#hereticdocs_DATA = $(DOC_FILES)

#hexendocsdir = ${docdir}/../${PROGRAM_PREFIX}hexen
#hexendocs_DATA = $(DOC_FILES)

#strifedocsdir = ${docdir}/../${PROGRAM_PREFIX}strife
#strifedocs_DATA = $(DOC_FILES) README.Strife.md

MAINTAINERCLEANFILES =  $(AUX_DIST_GEN)

SUBDIRS=textscreen midiproc opl pcsound data src man

DIST_SUBDIRS=pkg $(SUBDIRS)

if HAVE_PYTHON

INSTALL : man/INSTALL.template man/simplecpp
	./man/simplecpp -DDOOM -DHERETIC -DHEXEN -DSTRIFE \
57 58
            -DLONG_GAME_NAME="@PACKAGE_SHORTNAME@ Doom" \
            -DLONG_EXE_NAME="@PROGRAM_PREFIX@doom" \
59 60 61
	                < man/INSTALL.template > $@

endif