aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index a6611af..10a6b60 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -16,6 +16,7 @@
sbin_PROGRAMS=wydawca
wydawca_SOURCES=\
+ cmdline.h\
config.c\
directive.c\
diskio.c\
@@ -33,7 +34,13 @@ wydawca_SOURCES=\
mail.h\
mail.c
-EXTRA_DIST=pp-setup
+BUILT_SOURCES=cmdline.h
+EXTRA_DIST=cmdline.opt getopt.m4 pp-setup
+
+SUFFIXES=.opt .c .h
+
+.opt.h:
+ m4 -s $(srcdir)/getopt.m4 $< | sed '1d' > $@
incdir=$(pkgdatadir)/$(VERSION)/include
inc_DATA = $(PP_SETUP_FILE)

Return to:

Send suggestions and report system problems to the System administrator.