Changeset 44 for trunk/Makefile.in
- Timestamp:
- Jun 5, 2006, 10:53:07 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.in
r40 r44 948 948 group=`id | sed s,.*gid=[0123456789]*\(,, | sed s,\).*,,`; \ 949 949 cat prototype | grep -v 'none / ' | \ 950 sed 's,none /etc .*,none /etc ? ? ?,' | \951 sed 's,none /etc/init.d .*,none /etc/init.d ? ? ?,' | \952 sed 's,none /usr .*,none /usr ? ? ?,' | \953 sed 's,none /usr/bin .*,none /usr/bin ? ? ?,' | \954 sed 's,none /var .*,none /var ? ? ?,' | \955 sed 's,none /var/lib .*,none /var/lib ? ? ?,' | \956 sed 's,none /var/log .*,none /var/log ? ? ?,' | \957 sed 's,none /var/run .*,none /var/run ? ? ?,' | \958 sed 's,none /usr/sbin .*,none /usr/sbin ? ? ?,' | \959 950 sed s,$$user\ $$group,root\ sys,g > prototype.1; \ 960 rm -f prototype && mv prototype.1 prototype; \ 961 if test -d /usr/local; then \ 962 cat prototype | \ 963 sed 's,none /usr/local .*,none /usr/local ? ? ?,' >prototype.1;\ 964 rm -f prototype && mv prototype.1 prototype; \ 965 fi; \ 966 if test -d /usr/local/bin; then \ 967 cat prototype | \ 968 sed 's,none /usr/local/bin .*,none /usr/local/bin ? ? ?,' >prototype.1;\ 969 rm -f prototype && mv prototype.1 prototype; \ 970 fi; \ 971 if test -d /usr/local/sbin; then \ 972 cat prototype | \ 973 sed 's,none /usr/local/sbin .*,none /usr/local/sbin ? ? ?,' >prototype.1;\ 974 rm -f prototype && mv prototype.1 prototype; \ 975 fi; \ 976 if test -d /usr/local/man; then \ 977 cat prototype | \ 978 sed 's,none /usr/local/man .*,none /usr/local/man ? ? ?,' >prototype.1;\ 979 rm -f prototype && mv prototype.1 prototype; \ 980 fi; \ 981 if test -d /usr/local/man/man5; then \ 982 cat prototype | \ 983 sed 's,none /usr/local/man/man5 .*,none /usr/local/man/man5 ? ? ?,' >prototype.1;\ 984 rm -f prototype && mv prototype.1 prototype; \ 985 fi; \ 986 if test -d /usr/local/man/man8; then \ 987 cat prototype | \ 988 sed 's,none /usr/local/man/man8 .*,none /usr/local/man/man8 ? ? ?,' >prototype.1;\ 989 rm -f prototype && mv prototype.1 prototype; \ 990 fi; \ 951 rm -f prototype.2; \ 952 while read line; do \ 953 echo "$${line}" | egrep '^d none' >/dev/null 2>&1; \ 954 if [ $$? = 0 ]; then \ 955 dir=`echo "$${line}" | awk '{ print $$3 }'`; \ 956 if [ -d "$$dir" ]; then \ 957 echo "d none $${dir} ? ? ?" >> prototype.2; \ 958 else \ 959 echo "$${line}" >> prototype.2; \ 960 fi; \ 961 else \ 962 echo "$${line}" >> prototype.2; \ 963 fi; \ 964 done < prototype.1; \ 965 rm -f prototype && rm prototype.1 && mv prototype.2 prototype; \ 991 966 echo "d none /etc/rc0.d ? ? ?" >> prototype; \ 992 967 echo "d none /etc/rc1.d ? ? ?" >> prototype; \ … … 1012 987 cp /tmp/samhain-pkg-staging/@install_name@.pkg $(PACKAGE)-$(VERSION).pkg; \ 1013 988 echo "Package $(PACKAGE)-$(VERSION).pkg is ready for installation"; \ 989 echo "to install, use: pkgadd -n -d $(PACKAGE)-$(VERSION).pkg all"; \ 1014 990 echo; \ 1015 991 rm -rf /var/spool/pkg/@install_name@ /tmp/samhain-pkg-staging; \
Note:
See TracChangeset
for help on using the changeset viewer.