"Fossies" - the Fresh Open Source Software Archive

Member "xarchive-0.2.8-6/wrappers/Makefile.am" (9 Nov 2005, 1015 Bytes) of package /linux/privat/old/xarchive-0.2.8-6.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 wrapperdir = $(pkglibdir)/wrappers
    2 OSSCRIPTS = tar-wrap.sh rpm-wrap.sh
    3 BSDSRCS = tar-bsd.src rpm-bsd.src
    4 GNUSRCS = tar-gnu.src rpm-gnu.src
    5 GENERICSCRIPTS = zip-wrap.sh rar-wrap.sh 7za-wrap.sh arj-wrap.sh deb-wrap.sh ace-wrap.sh
    6 GENERICSRCS = zip.src rar.src 7za.src arj.src deb.src ace.src
    7 EXTRA_DIST = $(GENERICSRCS) $(GNUSRCS) $(BSDSRCS)
    8 wrapper_SCRIPTS = $(GENERICSCRIPTS) $(OSSCRIPTS)
    9 
   10 $(GENERICSCRIPTS): $(GENERICSRCS)
   11 	list='$(GENERICSRCS)'; for file in $$list; do \
   12 		cat $$file | sed -e '1s,/path/to/bash,@BASH_PROG@,' > $${file%%.src}-wrap.sh; done; chmod a+x $(GENERICSCRIPTS) 
   13 
   14 $(OSSCRIPTS): $(BSDSRCS) $(GNUSRCS)
   15 	if [ $$(expr "@build_os@" : ".*bsd.*") -gt 0 ]; then \
   16           list='$(BSDSRCS)'; for file in $$list; do \
   17             cat $$file | sed -e '1s,/path/to/bash,@BASH_PROG@,' > $${file%%-bsd.src}-wrap.sh; done; \
   18 	else \
   19 	  list='$(GNUSRCS)'; for file in $$list; do \
   20 	    cat $$file | sed -e '1s,/path/to/bash,@BASH_PROG@,' > $${file%%-gnu.src}-wrap.sh; done; \
   21 	fi; chmod a+x $(OSSCRIPTS)