From c0570ffdfa9ef913b5132b2069dd69491f77a8f8 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sun, 17 Jul 2005 20:11:01 +0000 Subject: fix rules to work with non-GNU make and outside of $srcdir --- src/Makefile.am | 4 ++-- 1 file 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 >$@ + sed -f ${srcdir}/deftwmrc.sed < ${srcdir}/system.twmrc >>$@ echo ' (char *) 0 };' >>$@ EXTRA_DIST = system.twmrc deftwmrc.sed siconify.bm -- cgit v1.2.3