diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/chklref/Makefile |
Initial commit
Diffstat (limited to 'support/chklref/Makefile')
-rw-r--r-- | support/chklref/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/support/chklref/Makefile b/support/chklref/Makefile new file mode 100644 index 0000000000..c7719832bd --- /dev/null +++ b/support/chklref/Makefile @@ -0,0 +1,35 @@ +.PHONY: all install clean archive distclean doc + +all: + $(MAKE) -C src all + $(MAKE) -C doc all + +doc: + $(MAKE) -C doc + +install: + $(MAKE) -C src install + $(MAKE) -C doc install + +uninstall: + $(MAKE) -C src uninstall + $(MAKE) -C doc uninstall + +clean: + $(MAKE) -C src clean + $(MAKE) -C doc clean + +distclean: + $(MAKE) -C src distclean + $(MAKE) -C doc distclean + +VERSION=$(shell cat VERSION) + +archive: + $(RM) -r chklref-$(VERSION) + mkdir -p chklref-$(VERSION) + $(RM) chklref-$(VERSION).tar.gz + git archive master | tar -x -C chklref-$(VERSION) + tar czf chklref-$(VERSION).tar.gz chklref-$(VERSION) + $(RM) -r chklref-$(VERSION) + |