X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=progs%2FMakefile.in;h=bdb8a0f0489874ee5adf8b628dda30a4cb6d4c96;hp=5e211c281715616912391a0198859245b177f594;hb=5e9dacf37f4f807f4e09bd98874f32d6e4f9a37a;hpb=684ea7a15772d25d6eb430c5751295e52a2d8a66 diff --git a/progs/Makefile.in b/progs/Makefile.in index 5e211c28..bdb8a0f0 100644 --- a/progs/Makefile.in +++ b/progs/Makefile.in @@ -1,6 +1,6 @@ -# $Id: Makefile.in,v 1.81 2009/03/14 18:45:55 tom Exp $ +# $Id: Makefile.in,v 1.85 2010/11/27 21:45:27 tom Exp $ ############################################################################## -# Copyright (c) 1998-2008,2009 Free Software Foundation, Inc. # +# Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a # # copy of this software and associated documentation files (the "Software"), # @@ -43,6 +43,7 @@ .SUFFIXES: SHELL = /bin/sh +VPATH = @srcdir@ THIS = Makefile CF_MFLAGS = @cf_cv_makeflags@ @@ -76,6 +77,9 @@ transform = @program_transform_name@ AWK = @AWK@ LN_S = @LN_S@ +CTAGS = @CTAGS@ +ETAGS = @ETAGS@ + CC = @CC@ CPP = @CPP@ CFLAGS = @CFLAGS@ @@ -176,7 +180,7 @@ transform.h : echo "#define __TRANSFORM_H 1" >>$@ echo "#include " >>$@ echo "extern bool same_program(const char *, const char *);" >>$@ - -test -n "$x" && echo "#define SUFFIX_IGNORED \"$x\"" >>$@ + -sh -c 'if test -n "$x" ; then echo "#define SUFFIX_IGNORED \"$x\"">>$@; fi' echo "#define PROG_CAPTOINFO \"$(define_captoinfo)\"" >>$@ echo "#define PROG_INFOTOCAP \"$(define_infotocap)\"" >>$@ echo "#define PROG_RESET \"$(define_reset)\"" >>$@ @@ -214,7 +218,7 @@ uninstall.progs: -@rm -f $(DESTDIR)$(bindir)/$(actual_reset) $(DESTDIR)$(bindir) : - sh $(srcdir)/../mkdirs.sh $@ + mkdir -p $@ # # Utilities normally built by make all start here @@ -275,10 +279,10 @@ termsort.c: $(srcdir)/MKtermsort.sh # tags: - ctags *.[ch] + $(CTAGS) *.[ch] @MAKE_UPPER_TAGS@TAGS: -@MAKE_UPPER_TAGS@ etags *.[ch] +@MAKE_UPPER_TAGS@ $(ETAGS) *.[ch] mostlyclean :: -rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace