File: Makefile

package info (click to toggle)
kxdocker-data 0.8-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,292 kB
  • ctags: 9
  • sloc: xml: 308; sh: 104; makefile: 56
file content (23 lines) | stat: -rw-r--r-- 651 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
TAR= tar
TAROPT= -jxf
KXDPREFIX=/share/apps/kxdocker/
BZSRC= plugins.tar.bz2 sounds.tar.bz2 themes.tar.bz2

all:
	
clean:
	
install:
	destdir='$(DESTDIR)'; \
	prefix='$(PREFIX)' ; \
	if test -z $$prefix; then \
		prefix=`cat prefix` ; \
		if test -z $$prefix; then \
			destdir=`kde-config --prefix`; \
		fi ; \
	fi ;\
	echo "KXDocker Resources will be installed to: $$destdir/$$prefix" ; \
	mkdir -p $$destdir/$$prefix/$(KXDPREFIX) ; \
	$(TAR) $(TAROPT) plugins.tar.bz2 -C $$destdir/$$prefix/$(KXDPREFIX) ; \
	$(TAR) $(TAROPT) themes.tar.bz2 -C $$destdir/$$prefix/$(KXDPREFIX)  ; \
	$(TAR) $(TAROPT) sounds.tar.bz2 -C $$destdir/$$prefix/$(KXDPREFIX)