mirror of
https://github.com/dschmenk/apple2pi.git
synced 2024-11-28 09:49:27 +00:00
Add top-level Makefile
This commit is contained in:
parent
92703806fc
commit
4513da7ab6
19
Makefile
Executable file
19
Makefile
Executable file
@ -0,0 +1,19 @@
|
||||
PACKAGE=a2pi
|
||||
VERSION=0.9.0
|
||||
DIST=$(PACKAGE)-$(VERSION)
|
||||
DISTDIR=./$(DIST)
|
||||
|
||||
a2pi:
|
||||
$(MAKE) -C src
|
||||
|
||||
dist:
|
||||
-rm -rf $(DISTDIR)
|
||||
mkdir $(DISTDIR)
|
||||
-chmod 777 $(DISTDIR)
|
||||
-cp * $(DISTDIR)
|
||||
cp -R ./docs $(DISTDIR)
|
||||
cp -R ./share $(DISTDIR)
|
||||
cp -R ./src $(DISTDIR)
|
||||
-chmod -R a+r $(DISTDIR)
|
||||
tar czf $(DIST).tar.gz $(DISTDIR)
|
||||
rm -rf $(DISTDIR)
|
Loading…
Reference in New Issue
Block a user