Changeset 394 for trunk/Makefile


Ignore:
Timestamp:
06/30/07 18:13:30 (14 years ago)
Author:
bastiaans
Message:

pkg/rpm/jobmonarch-webfrontend.spec:

  • added logo

Makefile:

  • added rpm-webfrontend
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r393 r394  
    125125        cp ${TMPDIR}/.monarch_buildroot/jobmonarch-jobarchived-${VERSION}-${RELEASE}.*.rpm .
    126126
     127rpm-webfrontend:        ${REQUIRED}
     128        mkdir -p ${TMPDIR}/.monarch_buildroot/jobmonarch-webfrontend-${VERSION}-${RELEASE}/${WEBDIR} >/dev/null
     129        ( cd web; \
     130        rsync -a --exclude=.svn . ${TMPDIR}/.monarch_buildroot/jobmonarch-webfrontend-${VERSION}-${RELEASE}/${WEBDIR} )
     131        cp pkg/rpm/jobmonarch-webfrontend.spec \
     132        ${TMPDIR}/.monarch_buildroot/jobmonarch-webfrontend-${VERSION}-${RELEASE}/jobmonarch-webfrontend-${VERSION}-${RELEASE}.spec
     133        ( cd ${TMPDIR}/.monarch_buildroot/; \
     134        cat jobmonarch-webfrontend-${VERSION}-${RELEASE}/jobmonarch-webfrontend-${VERSION}-${RELEASE}.spec \
     135        | sed "s/^Buildroot:.*$//Buildroot: \${TMPDIR}\/\.monarch_buildroot\/jobmonarch-webfrontend-${VERSION}-${RELEASE}/g" \
     136        | sed "s/^Version:.*$//Version: ${VERSION}/g" \
     137        | sed "s/^Release:.*$//Release: ${RELEASE}/g" \
     138        >jobmonarch-webfrontend-${VERSION}-${RELEASE}/jobmonarch-webfrontend-${VERSION}-${RELEASE}.spec.new; \
     139        mv jobmonarch-webfrontend-${VERSION}-${RELEASE}/jobmonarch-webfrontend-${VERSION}-${RELEASE}.spec.new \
     140        jobmonarch-webfrontend-${VERSION}-${RELEASE}/jobmonarch-webfrontend-${VERSION}-${RELEASE}.spec )
     141        ( cd ${TMPDIR}/.monarch_buildroot/jobmonarch-webfrontend-${VERSION}-${RELEASE}; \
     142        fakeroot rpmbuild -bb jobmonarch-webfrontend-${VERSION}-${RELEASE}.spec )
     143        cp ${TMPDIR}/.monarch_buildroot/jobmonarch-webfrontend-${VERSION}-${RELEASE}.*.rpm .
     144
    127145clean:  ${TMPDIR}/.monarch_buildroot
    128146        rm -rf ${TMPDIR}/.monarch_buildroot
Note: See TracChangeset for help on using the changeset viewer.