2019-03-06 09:11:08 +01:00
|
|
|
NAME := vc-p4
|
2020-05-28 07:13:18 +02:00
|
|
|
VERSION := 0.2.1
|
2019-03-06 09:11:08 +01:00
|
|
|
DESCRIPTION := "Perforce integration for VC"
|
2018-02-06 20:29:03 +01:00
|
|
|
|
2019-03-06 09:11:08 +01:00
|
|
|
FULLNAME := "$(NAME)-$(VERSION)"
|
2018-02-06 20:29:03 +01:00
|
|
|
|
2019-03-06 09:11:08 +01:00
|
|
|
.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 $^ $@
|
2018-02-06 20:29:03 +01:00
|
|
|
|
|
|
|
$(NAME)-pkg.el:
|
2020-05-28 07:12:28 +02:00
|
|
|
echo "(define-package \"$(NAME)\" \"$(VERSION)\" \"$(DESCRIPTION)\" '((emacs \"25\")))" > $@
|
2018-02-06 20:29:03 +01:00
|
|
|
|
|
|
|
clean:
|
2019-03-06 09:11:08 +01:00
|
|
|
rm -rf $(NAME)-pkg.el $(NAME)-$(VERSION).tar $(FULLNAME)/
|
2023-02-05 03:27:55 +01:00
|
|
|
|
|
|
|
README.html: README.org
|
|
|
|
emacs --batch --quick \
|
|
|
|
--eval "(require 'ox-html)" \
|
|
|
|
--visit $< \
|
|
|
|
--eval "(org-html-export-to-html nil nil nil t)"
|