projects
/
browser-switch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
77ab304
)
Add command-line utility to Makefile install target
author
Steven Luo
<steven+maemo@steven676.net>
Sun, 30 May 2010 09:46:46 +0000
(
02:46
-0700)
committer
Steven Luo
<steven+maemo@steven676.net>
Sun, 30 May 2010 09:46:46 +0000
(
02:46
-0700)
config-ui/Makefile
patch
|
blob
|
history
diff --git
a/config-ui/Makefile
b/config-ui/Makefile
index
090fc67
..
bb7ad98
100644
(file)
--- a/
config-ui/Makefile
+++ b/
config-ui/Makefile
@@
-64,18
+64,23
@@
$(PLUGIN): $(plugin_obj)
$(CC) $(CFLAGS) $(CFLAGS_PLUGIN) $(CPPFLAGS) $(CPPFLAGS_PLUGIN) \
-c -o $@ $<
$(CC) $(CFLAGS) $(CFLAGS_PLUGIN) $(CPPFLAGS) $(CPPFLAGS_PLUGIN) \
-c -o $@ $<
-strip: strip-plugin
+strip: strip-plugin strip-util
strip-plugin: $(PLUGIN)
strip $(PLUGIN)
strip-plugin: $(PLUGIN)
strip $(PLUGIN)
+strip-util: $(UTIL)
+ strip ($UTIL)
-install: install-plugin
+install: install-plugin install-util
install-plugin: $(PLUGIN)
mkdir -p $(DESTDIR)$(PREFIX)/lib/hildon-control-panel
mkdir -p $(DESTDIR)$(PREFIX)/share/applications/hildon-control-panel
install -c -m 0755 $(PLUGIN) $(DESTDIR)$(PREFIX)/lib/hildon-control-panel
install -c -m 0644 $(APP).desktop $(DESTDIR)$(PREFIX)/share/applications/hildon-control-panel
install-plugin: $(PLUGIN)
mkdir -p $(DESTDIR)$(PREFIX)/lib/hildon-control-panel
mkdir -p $(DESTDIR)$(PREFIX)/share/applications/hildon-control-panel
install -c -m 0755 $(PLUGIN) $(DESTDIR)$(PREFIX)/lib/hildon-control-panel
install -c -m 0644 $(APP).desktop $(DESTDIR)$(PREFIX)/share/applications/hildon-control-panel
+install-util: $(UTIL)
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
+ install -c -m 0755 $(UTIL) $(DESTDIR)$(PREFIX)/bin
clean:
rm -f $(APP) $(UTIL) $(HILDON_APP) $(PLUGIN) $(app_obj) $(util_obj) $(happ_obj) $(plugin_obj)
clean:
rm -f $(APP) $(UTIL) $(HILDON_APP) $(PLUGIN) $(app_obj) $(util_obj) $(happ_obj) $(plugin_obj)
-.PHONY: strip strip-plugin install install-plugin app util diablo-hildon-app diablo-plugin fremantle-hildon-app fremantle-plugin
+.PHONY: strip strip-plugin strip-util install install-plugin install-util app util diablo-hildon-app diablo-plugin fremantle-hildon-app fremantle-plugin