Masato Taruishi
taru****@users*****
2004年 10月 19日 (火) 17:32:52 JST
=================================================================== RCS file: ultrapossum/Makefile.am,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- ultrapossum/Makefile.am 2004/10/18 06:38:20 1.32 +++ ultrapossum/Makefile.am 2004/10/19 08:32:52 1.33 @@ -4,9 +4,9 @@ bin_SCRIPTS = ultrapossum-config pkgdata_DATA = \ - modules term variable pysical logical + modules term variable pysical logical secret -pkgdata_SCRIPTS = sshman envexec sedwrap +pkgdata_SCRIPTS = sshman envexec sedwrap mkvariable man_MANS = ultrapossum-config.1 update-ultrapossum.8 ultrapossum-server.8 @@ -24,24 +24,11 @@ aclocaldir = @aclocaldir@ aclocal_DATA = ultrapossum.m4 -variable: modules init.d/variable Makefile - egrep "[A-Z_][A-Z_]*=" modules | cut -d= -f1 | grep -v IFS | tr -d '# ' | sort | uniq > $@T - sort init.d/variable $@T | uniq > $@ - /bin/rm -f variableT - -pysical: modules init.d/pysical Makefile - egrep "[A-Z_][A-Z_]*=" modules | grep ultrapossum_getconf | cut -d= -f1 | grep -v IFS | tr -d '# ' | sort | uniq > $@T - sort init.d/pysical $@T | uniq > $@ - /bin/rm -f pysicalT - -logical: pysical variable - diff variable pysical | egrep "^< " | cut -d' ' -f2 > logical - -init.d/variable: - $(MAKE) -C init.d variable - -init.d/pysical: - $(MAKE) -C init.d pysical +variable pysical logical secret: modules $(shell /bin/ls init.d/[0-9]*) + $(srcdir)/mkvariable variable $(mkvariable) variable $? > variable + $(srcdir)/mkvariable pysical $(mkvariable) variable $? > pysical + $(srcdir)/mkvariable logical $(mkvariable) variable $? > logical + $(srcdir)/mkvariable secret $(mkvariable) variable $? > secret CLEANFILES = variable variableT pysical pysicalT logical update-ultrapossum.8 ultrapossum-config.1 ultrapossum-server.8