void possible SQL injection in function addRoomToDB.
[toast/confclerk.git] / data / Makefile
1 # Makefile - install Maemo specific data files 
2
3 PKG             = fosdem-schedule
4 ICON            = fosdem
5 PREFIX          = $(INSTALL_ROOT)/usr/share
6 INSTALL_FILE    = install -m 644 -p
7 CHK_DIR         = test -d
8 MKDIR           = mkdir -p
9
10 .PHONY: install uninstall clean distclean
11
12 all:
13
14 install: 
15         $(CHK_DIR) $(PREFIX)/applications/hildon/ || $(MKDIR) $(PREFIX)/applications/hildon/ 
16         $(INSTALL_FILE) ./maemo/$(PKG).desktop $(PREFIX)/applications/hildon/
17
18         $(CHK_DIR) $(PREFIX)/icons/hicolor/26x26/hildon/ || $(MKDIR) $(PREFIX)/icons/hicolor/26x26/hildon/ 
19         $(INSTALL_FILE) ./26x26/$(ICON).png $(PREFIX)/icons/hicolor/26x26/hildon/
20
21         $(CHK_DIR) $(PREFIX)/icons/hicolor/48x48/hildon/ || $(MKDIR) $(PREFIX)/icons/hicolor/48x48/hildon/ 
22         $(INSTALL_FILE) ./48x48/$(ICON).png $(PREFIX)/icons/hicolor/48x48/hildon/
23
24         $(CHK_DIR) $(PREFIX)/icons/hicolor/40x40/hildon/ || $(MKDIR) $(PREFIX)/icons/hicolor/40x40/hildon/ 
25         $(INSTALL_FILE) ./40x40/$(ICON).png $(PREFIX)/icons/hicolor/40x40/hildon/
26
27         $(CHK_DIR) $(PREFIX)/icons/hicolor/64x64/hildon/ || $(MKDIR) $(PREFIX)/icons/hicolor/64x64/hildon/
28         $(INSTALL_FILE) ./64x64/$(ICON).png $(PREFIX)/icons/hicolor/64x64/hildon/
29
30
31 uninstall:
32         $(RM) $(PREFIX)/applications/hildon/$(PKG).desktop
33         $(RM) $(PREFIX)/icons/hicolor/26x26/hildon/$(ICON).png
34         $(RM) $(PREFIX)/icons/hicolor/40x40/hildon/$(ICON).png
35         $(RM) $(PREFIX)/icons/hicolor/48x48/hildon/$(ICON).png
36         $(RM) $(PREFIX)/icons/hicolor/64x64/hildon/$(ICON).png
37
38 clean:
39
40 distclean: