summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am1
-rw-r--r--configure.in1
-rw-r--r--pkg/Makefile.am3
-rw-r--r--pkg/wince/Makefile.am2
4 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index e4b7c825..dc3a40d0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -45,6 +45,7 @@ MAINTAINERCLEANFILES = $(AUX_DIST_GEN)
docdir=$(prefix)/share/doc/@PACKAGE@
SUBDIRS=wince textscreen pcsound src man setup
+DIST_SUBDIRS=pkg $(SUBDIRS)
if HAVE_PYTHON
diff --git a/configure.in b/configure.in
index f77d6ebd..74890978 100644
--- a/configure.in
+++ b/configure.in
@@ -121,6 +121,7 @@ setup/Makefile
man/Makefile
src/Makefile
pcsound/Makefile
+pkg/Makefile
pkg/wince/Makefile
src/resource.rc
src/doom-screensaver.desktop
diff --git a/pkg/Makefile.am b/pkg/Makefile.am
new file mode 100644
index 00000000..00ab5d6f
--- /dev/null
+++ b/pkg/Makefile.am
@@ -0,0 +1,3 @@
+
+DIST_SUBDIRS=wince
+
diff --git a/pkg/wince/Makefile.am b/pkg/wince/Makefile.am
index 13b48d2e..e710e679 100644
--- a/pkg/wince/Makefile.am
+++ b/pkg/wince/Makefile.am
@@ -3,6 +3,8 @@ DEPS=$(shell ./wince-cabgen -d $(CONFIG_FILE))
CONFIG_FILE=wince-cab.cfg
OUTPUT_FILE=@PACKAGE_TARNAME@-@PACKAGE_VERSION@.cab
+EXTRA_DIST=wince-cabgen $(CONFIG_FILE)
+
noinst_DATA = $(OUTPUT_FILE)
$(OUTPUT_FILE) : $(CONFIG_FILE) $(DEPS)