summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am31
1 files changed, 15 insertions, 16 deletions
diff --git a/Makefile.am b/Makefile.am
index 09fc5868..46c9dec8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,36 +31,32 @@ CODEBLOCKS_FILES= \
codeblocks/setup.cbp \
codeblocks/setup-res.rc
-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 \
- config.h \
- CMDLINE \
HACKING \
- README.OPL \
TODO \
- BUGS \
- NOT-BUGS \
rpm.spec
+docdir=$(prefix)/share/doc/@PACKAGE@
+doc_DATA=$(DOC_FILES)
+
MAINTAINERCLEANFILES = $(AUX_DIST_GEN)
docdir=$(prefix)/share/doc/@PACKAGE@
-SUBDIRS=wince textscreen opl pcsound src man
+SUBDIRS=wince textscreen opl pcsound data src man
DIST_SUBDIRS=pkg $(SUBDIRS)
@@ -71,5 +67,8 @@ noinst_DATA=CMDLINE
CMDLINE : src/
./man/docgen -p man/CMDLINE.template src/ > $@
+INSTALL : man/INSTALL.template man/simplecpp
+ ./man/simplecpp < man/INSTALL.template > $@
+
endif