configure test for location of find with option -printf

This commit is contained in:
hjp 2001-03-19 08:45:35 +00:00
parent 0fa08b24ed
commit cbb4d0a8d7
7 changed files with 27 additions and 7 deletions

View File

@ -1,4 +1,12 @@
include GNUmakevars
CONFDIR=../../configure
all: configure dus fnp fnpa fnpc fqdn isodate psg
clean:
rm fnp fnpa fnpc customize
install: \
$(BINDIR)/dus \
$(BINDIR)/fnp \
@ -8,5 +16,18 @@ install: \
$(BINDIR)/isodate \
$(BINDIR)/psg \
fnp: fnp.sh
fnpa: fnpa.sh
fnpc: fnpc.sh
%: %.sh customize
sh ./customize < $< > $@
chmod +x $@
customize: configure
sh ./configure
configure: $(CONFDIR)/start $(CONFDIR)/find-printf $(CONFDIR)/finish
cat $^ > $@
include GNUmakerules

View File

@ -1,3 +0,0 @@
#!/bin/sh
find "$@" -printf "%TY-%Tm-%Td %TH:%TM:%TS %5k %-8u %-8g %m %p\n"

2
tiny/fnp.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
@@@find@@@ "$@" -printf "%TY-%Tm-%Td %TH:%TM:%TS %5k %-8u %-8g %m %p\t%l\n"

View File

@ -1,2 +0,0 @@
#!/bin/sh
find "$@" -printf "%AY-%Am-%Ad %AH:%AM:%AS %5k %-8u %-8g %p\n"

2
tiny/fnpa.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
@@@find@@@ "$@" -printf "%AY-%Am-%Ad %AH:%AM:%AS %5k %-8u %-8g %m %p\t%l\n"

View File

@ -1,2 +0,0 @@
#!/bin/sh
find "$@" -printf "%CY-%Cm-%Cd %CH:%CM:%CS %5k %-8u %-8g %p\n"

2
tiny/fnpc.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
@@@find@@@ "$@" -printf "%CY-%Cm-%Cd %CH:%CM:%CS %5k %-8u %-8g %m %p\t%l\n"