vc-p4/Makefile
Tom Willemse 62e038846b Require at least Emacs 25
I’ve started using ‘alist-get’, which wasn’t added until Emacs 25.
2020-05-27 22:12:28 -07:00

23 lines
538 B
Makefile

NAME := vc-p4
VERSION := 0.2.0
DESCRIPTION := "Perforce integration for VC"
FULLNAME := "$(NAME)-$(VERSION)"
.PHONY: $(NAME)-pkg.el
.SUFFIXES:
$(FULLNAME).tar: $(FULLNAME)/
tar cf $@ $^
$(FULLNAME)/: $(FULLNAME)/$(NAME)-pkg.el $(FULLNAME)/$(NAME).el $(FULLNAME)/p4-lowlevel.el
$(FULLNAME)/%: ./%
test -d $$(dirname $@) || mkdir $$(dirname $@)
cp $^ $@
$(NAME)-pkg.el:
echo "(define-package \"$(NAME)\" \"$(VERSION)\" \"$(DESCRIPTION)\" '((emacs \"25\")))" > $@
clean:
rm -rf $(NAME)-pkg.el $(NAME)-$(VERSION).tar $(FULLNAME)/