Commit 9bb4f29c authored by Juergen Weigert's avatar Juergen Weigert

verbose checkinstall!

parent 38b635f3
# a simple makefile to release packages # a simple makefile to release packages
DEST=/usr/share/inkscape/extensions DEST=/usr/share/inkscape/extensions
DISTNAME=inkscape-centerline-trace
dist: dist:
cd distribute; sh ./distribute.sh cd distribute; sh ./distribute.sh
...@@ -13,3 +14,5 @@ install: ...@@ -13,3 +14,5 @@ install:
clean: clean:
rm -f *.orig */*.orig rm -f *.orig */*.orig
rm -rf distribute/$(DISTNAME)
rm -rf distribute/deb/files
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
name=$1 name=$1
vers=$2 vers=$2
url=http://github.com/fablabnbg/inkscape-centerline-trace url=http://github.com/fablabnbg/inkscape-centerline-trace
requires="bash, python3-PIL|python-PIL, autotrace" requires="autotrace, python3-PIL | bash, python-PIL"
tmp=../out tmp=../out
...@@ -16,6 +16,6 @@ fakeroot checkinstall --fstrans --reset-uid --type debian \ ...@@ -16,6 +16,6 @@ fakeroot checkinstall --fstrans --reset-uid --type debian \
--pkglicense LGPL --pkggroup other --pakdir ../$tmp --pkgsource $url \ --pkglicense LGPL --pkggroup other --pakdir ../$tmp --pkgsource $url \
--pkgaltsource "http://fablab-nuernberg.de" \ --pkgaltsource "http://fablab-nuernberg.de" \
--maintainer "'Juergen Weigert (juewei@fabmail.org)'" \ --maintainer "'Juergen Weigert (juewei@fabmail.org)'" \
--requires "$requires" make install \ --requires "'$requires'" make install \
-e PREFIX=/usr > /dev/null || { echo "error"; exit 1; } -e PREFIX=/usr || { echo "error"; exit 1; }
...@@ -22,6 +22,7 @@ echo "Build Ubuntu Version (Y/n)?" ...@@ -22,6 +22,7 @@ echo "Build Ubuntu Version (Y/n)?"
read answer read answer
if [ "$answer" != "n" ] if [ "$answer" != "n" ]
then then
mkdir -p deb/files
cp -a $name/* deb/files cp -a $name/* deb/files
(cd deb && sh ./dist.sh $name $VERSION) (cd deb && sh ./dist.sh $name $VERSION)
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment