diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..138fba4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +vc-p4-*.tar +vc-p4-pkg.el diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..db788f1 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +NAME=vc-p4 +VERSION=0.1.0 +DESCRIPTION="Perforce integration for VC" + +.PHONY: vc-p4-pkg.el + +$(NAME)-$(VERSION).tar: $(NAME)-pkg.el $(NAME).el p4-lowlevel.el + tar cf $@ --xform="s/^/$(NAME)-$(VERSION)\//" $^ + +$(NAME)-pkg.el: + echo "(define-package \"$(NAME)\" \"$(VERSION)\" \"$(DESCRIPTION)\")" > $@ + +clean: + rm -f $(NAME)-pkg.el $(NAME)-$(VERSION).tar