summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Packaging')
-rwxr-xr-xSwift/Packaging/Debian/Makefile.inc19
1 files changed, 0 insertions, 19 deletions
diff --git a/Swift/Packaging/Debian/Makefile.inc b/Swift/Packaging/Debian/Makefile.inc
deleted file mode 100755
index fb079ce..0000000
--- a/Swift/Packaging/Debian/Makefile.inc
+++ /dev/null
@@ -1,19 +0,0 @@
-DATE=`date +%Y%m%d`
-SIZE=`du -s tmpusr/usr | awk '{print $1}'`
-VERSION=0.3.$(DATE)
-DEBPATH=Swift/Packaging/Debian
-DEBNAME=swift-preview_$(VERSION)-$(ARCH).deb
-$(DEBPATH)/$(DEBNAME): all
- rm -rf $(DEBPATH)/tmpusr
- mkdir -p $(DEBPATH)/tmpusr/usr/bin
- mkdir $(DEBPATH)/tmpusr/DEBIAN
-
- cp Swift/QtUI/swift $(DEBPATH)/tmpusr/usr/bin
-
- cat $(DEBPATH)/control | sed -e"s/\%ARCH\%/$(ARCH)/" -e"s/\%VERSION\%/$(VERSION)/" -e"s/\%SIZE\%/$(SIZE)/" > $(DEBPATH)/tmpusr/DEBIAN/control
-
- dpkg -b $(DEBPATH)/tmpusr $(DEBPATH)/$(DEBNAME)
-
-.PHONY: deb
-deb: $(DEBPATH)/$(DEBNAME)
-