summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c0e7994..5da94ea 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -74,14 +74,6 @@ twm_SOURCES = \
BUILT_SOURCES = gram.h deftwmrc.c
deftwmrc.c: system.twmrc
- $(AM_V_at)rm -f $@ ; \
- echo '/* ' >>$@ ; \
- echo ' * This file is generated automatically from the default' >>$@ ; \
- echo ' * twm bindings file system.twmrc by the twm Makefile.' >>$@ ; \
- echo ' */' >>$@ ; \
- echo '' >>$@ ; \
- echo 'const unsigned char *defTwmrc[] = {' >>$@ ; \
- $(SED) -f ${srcdir}/deftwmrc.sed < ${srcdir}/system.twmrc >>$@ ; \
- echo ' (const unsigned char *) 0 };' >>$@
+ $(srcdir)/gen_deftwmrc.sh $@ $<
-EXTRA_DIST = deftwmrc.sed siconify.bm
+EXTRA_DIST = siconify.bm