diff options
author | Tim Wiederhake <twied@gmx.net> | 2024-03-03 12:55:11 +0100 |
---|---|---|
committer | Thomas E. Dickey <dickey@his.com> | 2024-03-07 00:42:09 +0000 |
commit | 9b9c0087c906193e5ac549f8203713fd4eedbf2a (patch) | |
tree | b188d8061d3686ac83ddab846f59f4565902e5ec /src/Makefile.am | |
parent | 73c4cf88f3bf4094fd12cffec0147b957ad1e9c6 (diff) |
Simplify default twmrc generation
The logic to generate deftwmrc.c is currently split between Makefile.am and
deftwmrc.sed. Consolidate into a single script.
Signed-off-by: Tim Wiederhake <twied@gmx.net>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 12 |
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 |