Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (9 sloc) 365 Bytes
all: staging-archives/$(THING).tar.gz
include GNUmakefile.base
staging-archives/$(THING).tar.gz: $(prefix)/$(THING)
(cd $(prefix); tar czf - $(THING)) > $@
$(prefix)/$(THING): staging/$(THING) $(prefix)
cp -r $< $@
staging/$(THING): source-archives/$(THING).tar.gz staging
cat $< | (cd staging; tar xzf -)
cd staging/$(THING)/doc; $(MAKE); $(MAKE) clean