Makefile 304 B

12345678910111213141516171819202122
  1. DSC := $(wildcard openssh*.dsc)
  2. SRC := $(dir $(wildcard */.))
  3. all: $(if ${SRC},source)
  4. sudo pbuilder build --buildresult . --debbuildopts -b ${DSC}
  5. clean:
  6. git clean -dfx
  7. unpack:
  8. dpkg-source -x ${DSC}
  9. .PHONY: all clean unpack
  10. ifneq (,${SRC})
  11. source:
  12. dpkg-source -b ${SRC}
  13. .PHONY: source
  14. endif