updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cooka2 / Makefile
blob01bec3787fe3291001b565e6fe023c0409fe05bc
1 PROJECT=cooka2
3 PREFIX=/usr
6 all: $(PROJECT)
8 $(PROJECT):
9 mcs ckaMainClass.cs -linkresource:ckaFolder.png -linkresource:logo_v1_about.png -linkresource:startup.png \
10 -linkresource:logo_v1_ico.png -linkresource:na.png -linkresource:gui.glade -pkg:glade-sharp-2.0 \
11 -out:$(PROJECT).exe
13 clean:
14 rm -f *.exe
16 install: all
17 mkdir -p $(DESTDIR)$(PREFIX)/share/$(PROJECT)
18 cp -rf $(PROJECT).exe ckaFolder.png logo_v1_ico.png gui.glade na.png logo_v1_about.png startup.png \
19 gtk-gui/ $(DESTDIR)$(PREFIX)/share/$(PROJECT)/
21 install -Dm644 $(PROJECT).exe $(DESTDIR)$(PREFIX)/share/$(PROJECT)/
22 mkdir -p $(DESTDIR)$(PREFIX)/bin
24 echo '#!/bin/sh' > $(DESTDIR)$(PREFIX)/bin/$(PROJECT)
25 echo >> $(DESTDIR)$(PREFIX)/bin/$(PROJECT)
26 echo exec mono $(PREFIX)/share/$(PROJECT)/$(PROJECT).exe >> $(DESTDIR)$(PREFIX)/bin/$(PROJECT)
28 chmod 755 $(DESTDIR)$(PREFIX)/bin/$(PROJECT)