diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
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 |