aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2019-09-21 14:14:18 +0000
committerRob Austein <sra@hactrn.net>2019-09-21 14:14:18 +0000
commit36cc5882207ed6fb84c5a8c5c4f3c8f5300bf3b5 (patch)
tree8cf7ee158b475ee3124dc12bd5768246673585b2 /Makefile
parentc2115187783ff9c6a95611a72d50288938ca03eb (diff)
Fix OpenSSL dependency and strip down to just oldssh
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..5e166e2
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+DSC := $(wildcard openssh*.dsc)
+SRC := $(dir $(wildcard */.))
+
+all: $(if ${SRC},source)
+ sudo pbuilder build --buildresult . --debbuildopts -b ${DSC}
+
+clean:
+ git clean -dfx
+
+unpack:
+ dpkg-source -x ${DSC}
+
+.PHONY: all clean unpack
+
+ifneq (,${SRC})
+
+source:
+ dpkg-source -b ${SRC}
+
+.PHONY: source
+
+endif