diff options
author | Roy Marples <roy@marples.name> | 2008-03-03 12:34:51 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-03 12:34:51 +0000 |
commit | 61c476e72d7da6866ea9e3ba6a8d1e7bb295b7aa (patch) | |
tree | 4c25b370cf7d61cee6a2fa3c8344bf7322a173ff /mk/scripts.mk | |
parent | 0aedc0286040b595119b4523d38ffd35b0018d6c (diff) |
Use exlicit make targets, not directory contents.
Diffstat (limited to 'mk/scripts.mk')
-rw-r--r-- | mk/scripts.mk | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/mk/scripts.mk b/mk/scripts.mk index 3ef2eac0..34536f85 100644 --- a/mk/scripts.mk +++ b/mk/scripts.mk @@ -1,18 +1,11 @@ # Install rules for our scripts # Copyright 2007-2008 Roy Marples <roy@marples.name> -_IN_SH= ls -1 | sed -n -e 's:\.in$$::p' | xargs; echo -_IN!= ${_IN_SH} -OBJS+= ${_IN}$(shell ${_IN_SH}) - -# We store the contents of the directory for ease of use in Makefiles -_CONTENTS_SH= ls -1 | grep -v Makefile | sed -e 's:\.in$$::g' | sort -u | xargs -_CONTENTS!= ${_CONTENTS_SH} -CONTENTS= ${_CONTENTS}$(shell ${_CONTENTS_SH}) - include ${MK}/sys.mk include ${MK}/os.mk +OBJS+= ${SRCS:.in=} + # Tweak our shell scripts .SUFFIXES: .sh.in .in .sh.in.sh: |