archrelease: copy trunk to community-any
[ArchLinux/community.git] / systray-x / trunk / Makefile.patch
blobdcc797c039b63ebb451696361dd673e9a246dac2
1 diff --git a/Makefile b/Makefile
2 index 9631a87..0add4ce 100644
3 --- a/Makefile
4 +++ b/Makefile
5 @@ -17,6 +17,8 @@ else
6 endif
7 endif
9 +PREFIX ?=
11 #OPTIONS = "DEFINES += NO_KDE_INTEGRATION"
13 .PHONY: clean \
14 @@ -56,12 +58,12 @@ ifeq (Linux,$(SYSTEM))
15 systray-x-app:
16 @echo "Creating systray-x app" ;\
17 rm -f SysTray-X ;\
18 - mkdir -p app/build ;\
19 - cd app/build ;\
20 + mkdir -p app/${PREFIX}-build ;\
21 + cd app/${PREFIX}-build ;\
22 $(QMAKE) $(EXT_VERSION) $(OPTIONS) ../SysTray-X/SysTray-X.pro ;\
23 make ;\
24 cd ../.. ;\
25 - cp app/build/SysTray-X-app/SysTray-X .
26 + cp app/${PREFIX}-build/SysTray-X-app/SysTray-X .
27 else
28 systray-x-app:
29 @echo "Creating systray-x app" ;\