forked from pekwm/pekwm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (28 loc) · 812 Bytes
/
Makefile
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
31
32
33
MK = mk
include $(MK)/config.mk
all:
( cd src; $(MAKE) all )
( cd data; $(MAKE) all )
install:
( cd src; $(MAKE) install )
( cd data; $(MAKE) install )
dist:
rm -f pekwm-$(VERSION).tar.gz
mkdir -p pekwm-$(VERSION)
mkdir -p pekwm-$(VERSION)/data
mkdir -p pekwm-$(VERSION)/mk
mkdir -p pekwm-$(VERSION)/src
cp configure Makefile CMakeLists.txt pekwm-$(VERSION)/
cp -R data/* pekwm-$(VERSION)/data/
cp -R mk/* pekwm-$(VERSION)/mk/
cp -R src/Makefile pekwm-$(VERSION)/src/
cp -R src/*.cc pekwm-$(VERSION)/src/
cp -R src/*.hh pekwm-$(VERSION)/src/
find pekwm-$(VERSION) -name '*~' | xargs rm 2>/dev/null || true
tar cf pekwm-$(VERSION).tar pekwm-$(VERSION)
gzip pekwm-$(VERSION).tar
rm -rf pekwm-$(VERSION)
clean:
(cd src; $(MAKE) clean)
(cd data; $(MAKE) clean)
rm mk/config.h mk/config.mk