From 17b4750d97343468b046a95f4f089728759e36c8 Mon Sep 17 00:00:00 2001
From: Catherine Pitt <cen1001@cam.ac.uk>
Date: Thu, 26 May 2016 17:15:44 +0100
Subject: [PATCH] Create packages for xenial too

---
 .gitignore   | 2 +-
 Makefile     | 1 +
 debs/.keepme | 0
 3 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 debs/.keepme

diff --git a/.gitignore b/.gitignore
index f703bd3..f31148b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-debs/
+debs/*.deb
diff --git a/Makefile b/Makefile
index 0cd1702..e1d0218 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@ debs/${PKG}_${VER}_${ARC}.deb:
 
 upload: debs/${PKG}_${VER}_${ARC}.deb
 	scp debs/${PKG}_${VER}_${ARC}.deb root@downloads.ch.private.cam.ac.uk:/tmp/
+	ssh -l root downloads.ch.private.cam.ac.uk "make -C /var/www/local-debs/ debtodist-xenial DEB=/tmp/${PKG}_${VER}_${ARC}.deb"
 	ssh -l root downloads.ch.private.cam.ac.uk "make -C /var/www/local-debs/ debtodist-jessie DEB=/tmp/${PKG}_${VER}_${ARC}.deb"
 	ssh -l root downloads.ch.private.cam.ac.uk "make -C /var/www/local-debs/ debtodist-wheezy DEB=/tmp/${PKG}_${VER}_${ARC}.deb"
 	ssh -l root downloads.ch.private.cam.ac.uk "rm /tmp/${PKG}_${VER}_${ARC}.deb"
diff --git a/debs/.keepme b/debs/.keepme
new file mode 100644
index 0000000..e69de29
-- 
GitLab