Changeset 556 for trunk/Makefile.in
- Timestamp:
- Jul 14, 2020, 1:20:22 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.in
r550 r556 687 687 run-light: all 688 688 @echo "Building $(PACKAGE)-$(VERSION).run"; \ 689 STAGE=$(PACKAGE)-$(VERSION) ; \689 STAGE=$(PACKAGE)-$(VERSION)-run-installer; \ 690 690 mkdir $$STAGE; \ 691 691 if test x"$$?" != x0; then \ … … 709 709 echo "cp -p $$temp/* $(sbindir) || exit 1" >> $$STAGE/setup.sh; \ 710 710 temp=`echo $(sysconfdir) | sed s,^/,,`; \ 711 echo "chown root $$temp/*" >> $$STAGE/setup.sh; \711 echo "chown -R root $$temp/*" >> $$STAGE/setup.sh; \ 712 712 configfile=`echo @myconffile@ | sed 's%^REQ_FROM_SERVER%%'`; \ 713 echo "test -f $$configfile || cp -p $$temp/* $$configfile" >> $$STAGE/setup.sh; \ 714 echo "./samhain-install.sh --express --verbose install-boot || echo 'Cannot install init script'" >> $$STAGE/setup.sh; \ 713 echo "cp -pr $$temp/* @sysconfdir@" >> $$STAGE/setup.sh; \ 714 echo "./samhain-install.sh --express --verbose install-boot" >> $$STAGE/setup.sh; \ 715 echo "if [ \$$? -ne 0 ]" >> $$STAGE/setup.sh; \ 716 echo "then" >> $$STAGE/setup.sh; \ 717 echo " echo 'Installation finished, but could not install boot-time init scripts'" >> $$STAGE/setup.sh; \ 718 echo " exit 2" >> $$STAGE/setup.sh; \ 719 echo "fi" >> $$STAGE/setup.sh; \ 720 echo "echo 'Installation finished'" >> $$STAGE/setup.sh; \ 721 echo "exit 0" >> $$STAGE/setup.sh; \ 715 722 cp $(top_srcdir)/mkinstalldirs $$STAGE/; \ 716 723 cp $(top_srcdir)/install-sh $$STAGE/; \ … … 722 729 chmod +x $$STAGE/install-sh; \ 723 730 $(top_srcdir)/scripts/makeself/makeself.sh --header $(top_srcdir)/scripts/makeself/makeself-header.sh --nocomp --nomd5 --notemp $$STAGE $(PACKAGE)-$(VERSION).run "$(PACKAGE)_$(VERSION)_self_extracting_installer" ./setup.sh && \ 724 rm -r $ (PACKAGE)-$(VERSION)731 rm -r $$STAGE 725 732 726 733 emerge-prepare: dist
Note:
See TracChangeset
for help on using the changeset viewer.