[kune-commits] r1810 - /

Vicente J. Ruiz Jurado vjrj_ at ourproject.org
Sat Mar 31 02:46:37 CEST 2012


Author: vjrj_
Date: 2012-03-31 02:46:37 +0200 (Sat, 31 Mar 2012)
New Revision: 1810

Added:
   Makefile
Log:
deb repo

Added: Makefile
===================================================================
--- Makefile	                        (rev 0)
+++ Makefile	2012-03-31 00:46:37 UTC (rev 1810)
@@ -0,0 +1,46 @@
+export DEVDIR=~/proyectos/dev/kune/trunk
+
+all: kune
+
+kune:
+	@echo "Creating kune package..."
+	(cd ${DEVDIR}; debuild -us -uc)
+	@${MAKE} clean-kune
+
+clean-kune:
+	@echo "Cleaning kune..."
+	(cd trunk; debuild clean)
+
+clean-pkg:
+	@echo "Cleaning..."
+	@for ext in dsc asc build changes gz; do \
+		mv *.$${ext} ~/tmp/archive 2>/dev/null || true ; \
+	done
+
+clean-pkgall:
+	@echo "Cleaning..."
+	@for ext in deb dsc asc build changes gz; do \
+		mv *.$${ext}  ~/tmp/archive 2>/dev/null || true ; \
+	done
+
+update-repo-stable:
+	@cp *.deb debian/stable
+
+repo-stable:
+	(cd debian; apt-ftparchive packages stable > stable/Packages)
+	gzip -c debian/stable/Packages > debian/stable/Packages.gz
+	(cd debian; apt-ftparchive release stable/ > stable/Release)
+
+update-repo-unstable:
+	@cp *.deb debian/unstable/
+
+repo-unstable:
+	(cd debian; apt-ftparchive packages unstable/ > unstable/Packages)
+	gzip -c debian/unstable/Packages > debian/unstable/Packages.gz
+	(cd debian; apt-ftparchive release unstable/ > unstable/Release)
+
+rsync:
+	@rsync --progress --partial -r debian/ vjrj_ at ourproject.org:/var/lib/gforge/chroot/ftproot/pub/kune/debian/
+
+#deb ftp://ftp.ourproject.org/pub/kune/debian/ stable/
+#deb ftp://ftp.ourproject.org/pub/kune/debian/ unstable/
\ No newline at end of file




More information about the kune-commits mailing list