summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2005-07-17 20:11:01 +0000
committerMatthieu Herrb <matthieu.herrb@laas.fr>2005-07-17 20:11:01 +0000
commitc0570ffdfa9ef913b5132b2069dd69491f77a8f8 (patch)
treea4211b16093f9315d87769d4e1042d9c6d2dd469 /src/Makefile.am
parent29fba3a480ab1b4168d75ed92c8150851dddd805 (diff)
fix rules to work with non-GNU make and outside of $srcdir
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 7462c7f..9afdd73 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -63,14 +63,14 @@ twm_SOURCES = \
BUILT_SOURCES = gram.h deftwmrc.c
deftwmrc.c: system.twmrc
- $(RM) $@
+ rm -f $@
echo '/* ' >>$@
echo ' * This file is generated automatically from the default' >>$@
echo ' * twm bindings file system.twmrc by the twm Imakefile.' >>$@
echo ' */' >>$@
echo '' >>$@
echo 'char *defTwmrc[] = {' >>$@
- sed -f deftwmrc.sed <system.twmrc >>$@
+ sed -f ${srcdir}/deftwmrc.sed < ${srcdir}/system.twmrc >>$@
echo ' (char *) 0 };' >>$@
EXTRA_DIST = system.twmrc deftwmrc.sed siconify.bm