diff options
author | Andreas Bießmann <andreas@biessmann.de> | 2011-12-02 08:51:48 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-12-02 16:08:54 +0100 |
commit | 39a4819220328d12b5cd38f7f65791b935a1a7e0 (patch) | |
tree | 6c86ac3296d2f2c9ab0c0e9e8cc4ae3e791b5683 /Makefile.in | |
parent | 6bcc0feb09f524a912789aa2ddd60c43e2e908c8 (diff) | |
download | ptxdist-39a4819220328d12b5cd38f7f65791b935a1a7e0.tar.gz ptxdist-39a4819220328d12b5cd38f7f65791b935a1a7e0.tar.xz |
configure.ac: add check for GNU coreutils
Some scripts require GNU coreutils (especially the -- argument split is
problematical on some BSD systems).
This patch adds a macro to detect GNU coreutils version of these tools.
Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 7f4ea0b95..56d48aa73 100644 --- a/Makefile.in +++ b/Makefile.in @@ -41,12 +41,20 @@ kconfig: environment: @echo -n "preparing PTXdist environment ..." @ln -sf @SED@ $(abs_srcdir)/bin/sed + @ln -sf @GNU_chmod@ $(abs_srcdir)/bin/chmod + @ln -sf @GNU_mv@ $(abs_srcdir)/bin/mv + @ln -sf @GNU_rm@ $(abs_srcdir)/bin/rm + @ln -sf @GNU_md5sum@ $(abs_srcdir)/bin/md5sum @echo " done" @touch .done clean: @rm -f .done @rm -f $(abs_srcdir)/bin/sed + @rm -f $(abs_srcdir)/bin/chmod + @rm -f $(abs_srcdir)/bin/mv + @rm -f $(abs_srcdir)/bin/rm + @rm -f $(abs_srcdir)/bin/md5sum @$(MAKE) -C "$(abs_srcdir)/scripts/kconfig" clean dirty-check: @@ -82,7 +90,6 @@ install: all dirty-check cp scripts/bash_completion "$(DESTDIR)@BASH_COMPLETION_DIR@/ptxdist"; \ fi - dist: dirty-check @rm -rf "$(project)" @git archive "$(project)" --prefix="$(project)"/ > "${project}.tar" |