Oops, in switch to makefile, forgot the conditional for making the glade file hildon...
authorepage <eopage@byu.net>
Fri, 18 Jul 2008 01:31:15 +0000 (01:31 +0000)
committerepage <eopage@byu.net>
Fri, 18 Jul 2008 01:31:15 +0000 (01:31 +0000)
git-svn-id: file:///svnroot/gc-dialer/trunk@99 c39d3808-3fe2-4d86-a59f-b7f623ee9f21

Makefile

index b3686ba..c8b4408 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -72,7 +72,10 @@ package: build
        cp $(BUILD_PATH)/gc_dialer.desktop $(PACKAGE_PATH)/build/usr/share/applications/hildon
 
        cp $(BUILD_PATH)/gc_dialer.glade $(PACKAGE_PATH)/build/usr/local/lib
-       
+ifneq ($(PLATFORM),desktop)
+       sed -i 's/^[ \t]*//;s/GtkWindow/HildonWindow/' $(PACKAGE_PATH)/build/usr/local/lib/gc_dialer.glade
+endif
+
        cp $(BUILD_BIN) $(PACKAGE_PATH)/build/usr/local/bin
 
        cp $(PYPACKAGE_FILE) $(PACKAGE_PATH)