foxygit / doom Log in
commit 6e717690078ca8877631180501d7369d3dfc6468
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sat Oct 10 21:46:14 2009 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sat Oct 10 21:46:14 2009 +0000

    Add pkg directory to make dist.

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 1712
---
 Makefile.am           | 1 +
 configure.in          | 1 +
 pkg/Makefile.am       | 3 +++
 pkg/wince/Makefile.am | 2 ++
 4 files changed, 7 insertions(+)

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)