Changeset 2195 for branches/fc17-dev/server/fedora/Makefile
- Timestamp:
- May 22, 2012, 10:52:35 PM (11 years ago)
- Location:
- branches/fc17-dev
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/fc17-dev
- Property svn:mergeinfo changed
/trunk (added) merged: 2082-2122,2125-2148,2150-2194
- Property svn:mergeinfo changed
-
branches/fc17-dev/server/fedora/Makefile
r2066 r2195 19 19 # See /COPYRIGHT in this repository for more information. 20 20 21 upstream_yum = krb5 krb5.i686 httpd openssh redland-bindings rubygems 21 upstream_yum = krb5 krb5.i686 httpd openssh redland-bindings rubygems php 22 22 hackage = MonadCatchIO-mtl-0.3.0.2 cgi-3001.1.8.2 unix-handle-0.0.0 23 23 upstream_hackage = ghc-MonadCatchIO-mtl ghc-cgi ghc-unix-handle 24 upstream = openafs $(upstream_yum) $(upstream_hackage) moira zephyr zephyr.i686 python-zephyr athena-aclocal discuss25 oursrc = execsys tokensys accountadm httpdmods logview sql-signup nss_nonlocal nss_nonlocal.i686 whoisd athrun php_scripts scripts-wizard scripts-base scripts-static-cat 24 upstream = openafs $(upstream_yum) $(upstream_hackage) moira zephyr zephyr.i686 python-zephyr python-afs athena-aclocal discuss 25 oursrc = execsys tokensys accountadm httpdmods logview sql-signup nss_nonlocal nss_nonlocal.i686 whoisd athrun php_scripts scripts-wizard scripts-base scripts-static-cat fuse-better-mousetrapfs 26 26 allsrc = $(upstream) $(oursrc) 27 27 oursrcdir = ${PWD}/../common/oursrc … … 48 48 49 49 info: 50 @echo "The following packages are available:" ; \51 echo "$(allsrc)"; \52 echo "Run 'make all' to build all packages."50 @echo "The following packages are available:" 51 @echo "$(allsrc)" 52 @echo "Run 'make all' to build all packages." 53 53 54 54 minimal-clean: … … 60 60 61 61 mkdir-tree: 62 @rpmdev-setuptree62 rpmdev-setuptree 63 63 mkdir -p $(out_sbin) 64 64 ln -sTf $(topdir) rpmbuild … … 66 66 download: download_stamp 67 67 download_stamp: 68 @mkdir -p $(dload); \68 mkdir -p $(dload) 69 69 #wget -qO- -nv $(server_url)/$(server_arch) | xargs make 70 70 cd $(dload) && yumdownloader --disablerepo=scripts --source $(upstream_yum) … … 76 76 cp -a $(hackage:%=~/.cabal/packages/*/*/*/%.tar.gz) $(tmp_src) 77 77 spectool -g -R $(specs)/python-zephyr.spec 78 spectool -g -R $(specs)/python-afs.spec 78 79 touch download_stamp 79 80 … … 85 86 86 87 copy-patches: mkdir-tree 87 @cp $(patches)/*.patch $(tmp_src); \ 88 cd $(tmp_src); 88 cp $(patches)/*.patch $(tmp_src) 89 89 90 90 install-srpms: mkdir-tree download 91 rpm $(rpm_args) -i $(dload)/*.src.rpm 2>/dev/null ;91 rpm $(rpm_args) -i $(dload)/*.src.rpm 2>/dev/null 92 92 93 93 copy-specs: mkdir-tree … … 96 96 # Remove old .orig files so we're not mislead 97 97 patch-specs: install-srpms 98 @cd ${tmp_specs}; \ 98 @set -ex; \ 99 cd ${tmp_specs}; \ 99 100 list=`ls ${specs}/*.spec.patch`; \ 100 101 rm -f *.orig; \ … … 106 107 for i in $$list2; do \ 107 108 base=`basename $$i`; \ 109 [ -e ${tmp_specs}/$$base.spec ] || continue; \ 108 110 version=`svnversion ${oursrcdir}/$$i`; \ 109 111 version=$${version//:/_}; \ … … 112 114 -e "s/SVNVERSION_TO_UPDATE/$${version}/" \ 113 115 ${tmp_specs}/$$base.spec; \ 114 done ;116 done 115 117 116 118 # 1. use the package's Makefile to delete leftover files and run autoconf 117 119 # 2. create a tarball (we want it to contain the autoconf output) 118 120 tarballs: mkdir-tree 119 @cd ${oursrcdir}; \ 121 @set -ex; \ 122 cd ${oursrcdir}; \ 120 123 list=`find -mindepth 1 -maxdepth 1 -type d | grep -v ".svn"`; \ 121 124 for i in $$list; do \ … … 123 126 if [ -x ./mrproper ]; then \ 124 127 ./mrproper; \ 125 autoconf; \ 128 if [ -e configure.in ] || [ -e configure.ac ]; then \ 129 autoconf; \ 130 fi; \ 126 131 fi; \ 127 132 popd; \ 128 133 tar -czf $(tmp_src)/$$i.tar.gz $$i; \ 129 done ;134 done 130 135 131 136 #setup: install-srpms copy-patches copy-specs patch-specs tarballs … … 177 182 178 183 frob-openafs: 179 @if [ ! -d "/etc/openafs/" ]; then \ 184 @set -ex; \ 185 if [ ! -d "/etc/openafs/" ]; then \ 180 186 echo "/etc/openafs does not exist"; \ 181 187 exit 1; \
Note: See TracChangeset
for help on using the changeset viewer.