Skip to content

Commit

Permalink
build script fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hlamer committed Apr 27, 2015
1 parent f613c51 commit 48ea210
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Makefile
Expand Up @@ -33,16 +33,18 @@ dist/${ARCHIVE}:


deb-obs: dist/${ARCHIVE}
rm -rf build
mkdir build
cp dist/${ARCHIVE} build/${DEBIGAN_ORIG_ARCHIVE}
cd build && tar -xf ${DEBIGAN_ORIG_ARCHIVE}
cp -r debian build/${PACKAGE_NAME}-${VERSION}
sed -i s/ubuntuseries/obs/g build/${PACKAGE_NAME}-${VERSION}/debian/changelog
cd build/${PACKAGE_NAME}-${VERSION} && $(ENV) debuild -us -uc -S
rm -rf build/deb
mkdir -p build/deb
cp dist/${ARCHIVE} build/deb/${DEBIGAN_ORIG_ARCHIVE}
cd build/deb && tar -xf ${DEBIGAN_ORIG_ARCHIVE}
cp -r debian build/deb/${PACKAGE_NAME}-${VERSION}
sed -i s/ubuntuseries/obs/g build/deb/${PACKAGE_NAME}-${VERSION}/debian/changelog
cd build/deb/${PACKAGE_NAME}-${VERSION} && $(ENV) debuild -us -uc -S

build/obs_home_hlamer_enki:
rm -rf home:hlamer:enki
osc co home:hlamer:enki enki
mkdir -p build
mv home\:hlamer\:enki build/obs_home_hlamer_enki

put-obs: build/obs_home_hlamer_enki deb-obs
Expand Down

0 comments on commit 48ea210

Please sign in to comment.