mirror of
https://github.com/dschmenk/apple2pi.git
synced 2024-11-28 09:49:27 +00:00
28 lines
441 B
Makefile
Executable File
28 lines
441 B
Makefile
Executable File
PACKAGE=a2pi
|
|
VERSION=0.9.0
|
|
DIST=$(PACKAGE)-$(VERSION)
|
|
DISTDIR=./$(DIST)
|
|
|
|
a2pi:
|
|
$(MAKE) -C src
|
|
|
|
clean:
|
|
-rm *.tar.gz
|
|
$(MAKE) -C src clean
|
|
|
|
install:
|
|
$(MAKE) -C src install
|
|
|
|
dist:
|
|
-rm -rf $(DISTDIR)
|
|
mkdir $(DISTDIR)
|
|
-chmod 777 $(DISTDIR)
|
|
-cp * $(DISTDIR)
|
|
cp -R ./debian $(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)
|