Changeset 40 for trunk/Makefile.in
- Timestamp:
- May 31, 2006, 9:38:30 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.in
r34 r40 484 484 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's%samhain%@install_name@%'|sed 's%yule%@install_name@%'`"; \ 485 485 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's%samhain%@install_name@%'|sed 's%yule%@install_name@%'`; \ 486 chmod 0700 $(DESTDIR)$(sbindir)/`echo $$p|sed 's%samhain%@install_name@%'|sed 's%yule%@install_name@%'`; \ 486 487 echo " ./sstrip $(DESTDIR)$(sbindir)/`echo $$p|sed 's%samhain%@install_name@%'|sed 's%yule%@install_name@%'`"; \ 487 488 ./sstrip $(DESTDIR)$(sbindir)/`echo $$p|sed 's%samhain%@install_name@%'|sed 's%yule%@install_name@%'`; \ … … 623 624 exit 1; \ 624 625 fi; \ 625 makeDESTDIR=$$STAGE install-light; \626 $(MAKE) DESTDIR=$$STAGE install-light; \ 626 627 rm -f $$STAGE/@sbindir@/@install_name@_stealth; \ 627 628 echo "#! /bin/sh" > $$STAGE/setup.sh; \ … … 926 927 exit 1; \ 927 928 fi; \ 928 makeDESTDIR=$$STAGE install-light;929 $(MAKE) DESTDIR=$$STAGE install-light; 929 930 $(MAKE) solaris-pkg-finish 930 931 … … 936 937 exit 1; \ 937 938 fi; \ 938 makeDESTDIR=$$STAGE install;939 $(MAKE) DESTDIR=$$STAGE install; 939 940 $(MAKE) solaris-pkg-finish 940 941 … … 946 947 user=`id | sed s,uid=[0123456789]*\(,, | sed s,\).*,,`; \ 947 948 group=`id | sed s,.*gid=[0123456789]*\(,, | sed s,\).*,,`; \ 948 cat prototype | grep -v 'none / ' | grep -v 'none /usr ' | \ 949 grep -v 'none /usr/local ' | grep -v 'none /usr/bin ' | \ 950 grep -v 'none /usr/local/bin ' | grep -v 'none /usr/local/sbin ' | \ 951 grep -v 'none /var ' | grep -v 'none /usr/sbin ' | \ 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 ? ? ?,' | \ 952 959 sed s,$$user\ $$group,root\ sys,g > prototype.1; \ 953 960 rm -f prototype && mv prototype.1 prototype; \ 954 echo "d none /var ? ? ?" >> 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; \ 955 991 echo "d none /etc/rc0.d ? ? ?" >> prototype; \ 956 992 echo "d none /etc/rc1.d ? ? ?" >> prototype; \ … … 975 1011 echo; \ 976 1012 cp /tmp/samhain-pkg-staging/@install_name@.pkg $(PACKAGE)-$(VERSION).pkg; \ 977 echo "Package @install_name@.pkg is ready for installation"; \1013 echo "Package $(PACKAGE)-$(VERSION).pkg is ready for installation"; \ 978 1014 echo; \ 979 rm -r /var/spool/pkg/@install_name@ /tmp/samhain-pkg-staging; \1015 rm -rf /var/spool/pkg/@install_name@ /tmp/samhain-pkg-staging; \ 980 1016 else \ 981 1017 echo; \ … … 993 1029 exit 1; \ 994 1030 fi; \ 995 makeDESTDIR=$$STAGE install; \996 makeDESTDIR=$$STAGE install-boot; \1031 $(MAKE) DESTDIR=$$STAGE install; \ 1032 $(MAKE) DESTDIR=$$STAGE install-boot; \ 997 1033 cp hp_ux.psf $$STAGE; \ 998 1034 mkdir $$STAGE/sc; \ … … 1141 1177 cp config.h m_comp/; \ 1142 1178 cp $(srcsrc)/samhain_hide.c m_comp/; \ 1143 cd m_comp && makemodules1179 cd m_comp && $(MAKE) modules 1144 1180 @if test -f m_comp/samhain_hide.ko; then \ 1145 1181 cp -p m_comp/samhain_hide.ko samhain_hide.ko; \
Note:
See TracChangeset
for help on using the changeset viewer.