Changeset 2104 for trunk/server/fedora
- Timestamp:
- Dec 31, 2011, 9:46:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/fedora/Makefile
r2103 r2104 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) … … 86 86 87 87 copy-patches: mkdir-tree 88 @cp $(patches)/*.patch $(tmp_src); \ 89 cd $(tmp_src); 88 cp $(patches)/*.patch $(tmp_src) 90 89 91 90 install-srpms: mkdir-tree download 92 rpm $(rpm_args) -i $(dload)/*.src.rpm 2>/dev/null ;91 rpm $(rpm_args) -i $(dload)/*.src.rpm 2>/dev/null 93 92 94 93 copy-specs: mkdir-tree … … 97 96 # Remove old .orig files so we're not mislead 98 97 patch-specs: install-srpms 99 @cd ${tmp_specs}; \ 98 @set -ex; \ 99 cd ${tmp_specs}; \ 100 100 list=`ls ${specs}/*.spec.patch`; \ 101 101 rm -f *.orig; \ … … 114 114 -e "s/SVNVERSION_TO_UPDATE/$${version}/" \ 115 115 ${tmp_specs}/$$base.spec; \ 116 done ;116 done 117 117 118 118 # 1. use the package's Makefile to delete leftover files and run autoconf 119 119 # 2. create a tarball (we want it to contain the autoconf output) 120 120 tarballs: mkdir-tree 121 @cd ${oursrcdir}; \ 121 @set -ex; \ 122 cd ${oursrcdir}; \ 122 123 list=`find -mindepth 1 -maxdepth 1 -type d | grep -v ".svn"`; \ 123 124 for i in $$list; do \ … … 131 132 popd; \ 132 133 tar -czf $(tmp_src)/$$i.tar.gz $$i; \ 133 done ;134 done 134 135 135 136 #setup: install-srpms copy-patches copy-specs patch-specs tarballs … … 181 182 182 183 frob-openafs: 183 @if [ ! -d "/etc/openafs/" ]; then \ 184 @set -ex; \ 185 if [ ! -d "/etc/openafs/" ]; then \ 184 186 echo "/etc/openafs does not exist"; \ 185 187 exit 1; \
Note: See TracChangeset
for help on using the changeset viewer.