/[pdpsoft]/nl.nikhef.pdp.fetchcrl/trunk/Makefile
ViewVC logotype

Diff of /nl.nikhef.pdp.fetchcrl/trunk/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/fetchcrl/Makefile revision 2202 by davidg, Tue Feb 22 07:55:17 2011 UTC nl.nikhef.pdp.fetchcrl/trunk/Makefile revision 2648 by davidg, Tue Jul 2 18:52:29 2013 UTC
# Line 25  tar:    clean configure fetch-crl Line 25  tar:    clean configure fetch-crl
25          -chmod -R u+rw /var/tmp/${RELEASE}          -chmod -R u+rw /var/tmp/${RELEASE}
26          cd /var/tmp/ ; tar  cvfz ${RELEASE}.tar.gz --exclude=CVS \          cd /var/tmp/ ; tar  cvfz ${RELEASE}.tar.gz --exclude=CVS \
27                      --exclude='*~' --exclude='#*#' --exclude='20*' ${RELEASE}                      --exclude='*~' --exclude='#*#' --exclude='20*' ${RELEASE}
28            cd /var/tmp/ ; perl -pe '/^Req/ and s/chkconfig/aaa_base/g' < ${RELEASE}/fetch-crl.spec > ${RELEASE}/fetch-crl.spec.suse ; mv ${RELEASE}/fetch-crl.spec.suse ${RELEASE}/fetch-crl.spec ; tar  cvfz ${RELEASE}.suse.tar.gz --exclude=CVS \
29                        --exclude='*~' --exclude='#*#' --exclude='20*' ${RELEASE}
30          cp /var/tmp/${RELEASE}.tar.gz .          cp /var/tmp/${RELEASE}.tar.gz .
31            cp /var/tmp/${RELEASE}.suse.tar.gz .
32    
33  #####################################################################  #####################################################################
34  # Create substitution script  # Create substitution script
# Line 69  configure: $(shell find . -name \*\.cin Line 72  configure: $(shell find . -name \*\.cin
72  install: configure  install: configure
73          mkdir -p $(ETC)          mkdir -p $(ETC)
74          mkdir -p $(PREFIX)          mkdir -p $(PREFIX)
75          mkdir $(PREFIX)/sbin          mkdir -p $(PREFIX)/sbin
76          mkdir $(PREFIX)/share          mkdir -p $(PREFIX)/share
77          mkdir $(PREFIX)/share/doc          mkdir -p $(PREFIX)/share/doc
78          mkdir $(PREFIX)/share/doc/$(RELEASE)          mkdir -p $(PREFIX)/share/doc/$(RELEASE)
79          mkdir $(PREFIX)/share/man          mkdir -p $(PREFIX)/share/man
80          mkdir $(PREFIX)/share/man/man8          mkdir -p $(PREFIX)/share/man/man8
81          install -m755 fetch-crl              $(PREFIX)/sbin/fetch-crl          install -m755 fetch-crl              $(PREFIX)/sbin/fetch-crl
82            install -m755 clean-crl              $(PREFIX)/sbin/clean-crl
83          install -m644 fetch-crl-cron.cron    $(PREFIX)/share/doc/$(RELEASE)/fetch-crl-cron.cron          install -m644 fetch-crl-cron.cron    $(PREFIX)/share/doc/$(RELEASE)/fetch-crl-cron.cron
84          install -m644 fetch-crl-cron.init    $(PREFIX)/share/doc/$(RELEASE)/fetch-crl-cron.init          install -m644 fetch-crl-cron.init    $(PREFIX)/share/doc/$(RELEASE)/fetch-crl-cron.init
85          install -m644 fetch-crl-boot.init    $(PREFIX)/share/doc/$(RELEASE)/fetch-crl-boot.init          install -m644 fetch-crl-boot.init    $(PREFIX)/share/doc/$(RELEASE)/fetch-crl-boot.init
# Line 90  install: configure Line 94  install: configure
94    
95  rpm: tar  rpm: tar
96          rpmbuild -ta ${RELEASE}.tar.gz          rpmbuild -ta ${RELEASE}.tar.gz
97            rpmbuild -ta -D "dist .suse" ${RELEASE}.suse.tar.gz
98          @if [ -f ${RPMTOPDIR}/SRPMS/${NAME}-${VERSION}-${PATCHLEVEL}.src.rpm ] ; then \          @if [ -f ${RPMTOPDIR}/SRPMS/${NAME}-${VERSION}-${PATCHLEVEL}.src.rpm ] ; then \
99            mv ${RPMTOPDIR}/SRPMS/${NAME}*-${VERSION}-${PATCHLEVEL}.src.rpm . ;  \            mv ${RPMTOPDIR}/SRPMS/${NAME}*-${VERSION}-${PATCHLEVEL}.src.rpm . ;  \
100          fi          fi
# Line 101  rpm: tar Line 106  rpm: tar
106          fi          fi
107          @if [ -f ${RPMTOPDIR}/RPMS/noarch/${NAME}-${VERSION}-${PATCHLEVEL}.noarch.rpm ] ; then \          @if [ -f ${RPMTOPDIR}/RPMS/noarch/${NAME}-${VERSION}-${PATCHLEVEL}.noarch.rpm ] ; then \
108            mv ${RPMTOPDIR}/RPMS/noarch/${NAME}*-${VERSION}-${PATCHLEVEL}.noarch.rpm . ;  \            mv ${RPMTOPDIR}/RPMS/noarch/${NAME}*-${VERSION}-${PATCHLEVEL}.noarch.rpm . ;  \
109              mv ${RPMTOPDIR}/RPMS/noarch/${NAME}*-${VERSION}-${PATCHLEVEL}.suse.noarch.rpm . ;  \
110          fi          fi
111          @echo DO NOT FORGET TO SIGN THE RPM WITH rpm --resign ${NAME}*-${VERSION}-${PATCHLEVEL}.noarch.rpm          @echo DO NOT FORGET TO SIGN THE RPM WITH rpm --resign ${NAME}*-${VERSION}-${PATCHLEVEL}.noarch.rpm
112    
113  clean:  clean:
114          -rm -rf *.tar.gz *.rpm fetch-crl config.sh fetch-crl.spec          -rm -rf *.tar.gz *.rpm fetch-crl clean-crl config.sh fetch-crl.spec

Legend:
Removed from v.2202  
changed lines
  Added in v.2648

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28