commit 198526e67a27e9e63f5c7941aa1eddca61535e5b
Author: phantomjinx <[email protected]>
Date: Sun Oct 11 12:34:06 2009 +0100
* Minor updates to advHelloworld Makefile
plugins/advhelloworld/Makefile.am | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/plugins/advhelloworld/Makefile.am
b/plugins/advhelloworld/Makefile.am
index 84326a8..2cbb365 100644
--- a/plugins/advhelloworld/Makefile.am
+++ b/plugins/advhelloworld/Makefile.am
@@ -61,8 +61,8 @@ EXTRA_DIST = \
all-local: create-plugin-links create-ui-link
+# Creating symbolic links in plugin root directory
create-plugin-links:
- echo "Creating symbolic links in plugin root directory"
if test ! -e ../$(plugin_lib); then \
ln -s `pwd`/.libs/$(plugin_lib) ../$(plugin_lib); \
fi; \
@@ -72,8 +72,10 @@ create-plugin-links:
create-ui-link: create-ui-dir
if test -e $(gtkpod_ui_dir)/$(advhelloworld_ui_DATA); then \
+ # File already exists. Replacing ..." \
sudo rm -f $(gtkpod_ui_dir)/$(advhelloworld_ui_DATA); \
fi; \
+ # Creating link for $(advhelloworld_ui_DATA)" \
sudo ln -s `pwd`/$(advhelloworld_ui_DATA)
$(gtkpod_ui_dir)/$(advhelloworld_ui_DATA);
create-ui-dir: create-data-dir
@@ -92,6 +94,12 @@ create-base-data-dir:
fi;
-clean-local:
+clean-local: clean-ui-dir
rm -f ../$(plugin_lib) ../$(plugin_file)
+clean-ui-dir:
+ if test -h $(gtkpod_ui_dir)/$(advhelloworld_ui_DATA); then \
+ # Symbolic link exists. Removing ..." \
+ sudo rm -f $(gtkpod_ui_dir)/$(advhelloworld_ui_DATA); \
+ fi;
+
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2