mirror of
https://github.com/correl/melpa.git
synced 2024-12-22 19:17:27 +00:00
31 lines
452 B
Makefile
31 lines
452 B
Makefile
|
SHELL := /bin/bash
|
||
|
PKGDIR := ./packages
|
||
|
HTMLDIR := ./html
|
||
|
WORKDIR := ./working
|
||
|
|
||
|
.PHONY: clean build index html
|
||
|
.FORCE:
|
||
|
|
||
|
all: build index
|
||
|
|
||
|
build:
|
||
|
emacs --batch -l package-build.el --eval "(package-build-all)"
|
||
|
|
||
|
html:
|
||
|
$(MAKE) -C $(HTMLDIR)
|
||
|
|
||
|
index: html
|
||
|
|
||
|
clean-working:
|
||
|
rm -rf $(WORKDIR)/*
|
||
|
|
||
|
clean-packages:
|
||
|
rm -rfv $(PKGDIR)/*
|
||
|
|
||
|
clean: clean-working clean-packages
|
||
|
|
||
|
recipes/%: .FORCE
|
||
|
-rm -vf $(PKGDIR)/$(notdir $@)-*
|
||
|
@echo
|
||
|
./buildpkg $(notdir $@)
|