-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (25 loc) · 716 Bytes
/
Copy pathMakefile
File metadata and controls
30 lines (25 loc) · 716 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PACKAGE = ige-mac-bundler
VERSION = 0.5
bindir=$(HOME)/bin
all:
@echo 'Run "make install" to install.'
install:
@mkdir -p $(bindir)
@sed "s,@PATH@,`pwd`,g" < ige-mac-bundler.in > $(bindir)/ige-mac-bundler
@chmod a+x $(bindir)/ige-mac-bundler
distdir = $(PACKAGE)-$(VERSION)
dist:
-rm -rf $(distdir)
mkdir $(distdir)
cp -p README COPYING NEWS Makefile ige-mac-bundler.in $(distdir)/
mkdir $(distdir)/ui
cp -p ui/* $(distdir)/ui/
mkdir $(distdir)/bundler
cp -p bundler/*.py $(distdir)/bundler/
cp -p bundler/*.sh $(distdir)/bundler/
mkdir $(distdir)/examples
cp -p examples/* $(distdir)/examples/
chmod -R a+r $(distdir)
tar czf $(distdir).tar.gz $(distdir)
rm -rf $(distdir)
.PHONY: all install