changed packaging to multipackage
[mdictionary] / Makefile
index c672d6a..ba2474d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ MAJOR_VER = 1
 MINOR_VER = 0
 RELEASE_MAJOR_VER = 1
 RELEASE_MINOR_VER = 0
-RELEASE_PATCH_VER = 0
+RELEASE_PATCH_VER = 1
 PACK_VER = 0
 FRM_VER = 0.1
 
@@ -294,35 +294,39 @@ clean-temp:
 
                gconftool-2 --recursive-unset /apps/maemo/WhiteStork
 
-install:       localization ${BINARIES}/ws_dbus.o ${BINARIES}/WhiteStorkManager ${BINARIES}/ws_bookmark.so ${BINARIES}/ws_dbus.o ${BINARIES}/WhiteStork plugins
+install-manager: localization ${BINARIES}/ws_dbus.o ${BINARIES}/WhiteStorkManager 
                @install -d ${MNG_DIRS}
                @cp ${MNG_EXECUTABLE} ${DESTDIR}/usr/bin
                @cp ${MNG_LIB} ${DESTDIR}/usr/lib/WhiteStork
                @cp ${MNG_DBUS} ${DESTDIR}/usr/share/dbus-1/services
                @find  ${MNG_DOC} -type f -not -path *.svn* -exec cp {} ${DESTDIR}/usr/share/doc/${MNG_PACK_NAME} \;
                
-               @install -d ${MNG_DICT_DIRS}
-               @cp ${MNG_DICT1}
-               @cp ${MNG_DICT2}
+#              @install -d ${MNG_DICT_DIRS}
+#              @cp ${MNG_DICT1}
+#              @cp ${MNG_DICT2}
                
                @install -d ${DESTDIR}/usr/share/WhiteStork/dictionaries/bookmarks
                @cp -rf ${MNG_BOOKMARKS} ${DESTDIR}/usr/share/WhiteStork/dictionaries/bookmarks
                
+install-gui:   ${BINARIES}/ws_bookmark.so ${BINARIES}/ws_dbus.o ${BINARIES}/WhiteStork 
                @install -d ${GUI_DIRS}
                @cp ${GUI_EXECUTABLE} ${DESTDIR}/usr/bin
                @cp ${GUI_ICONS} ${DESTDIR}/usr/share/pixmaps
                @cp ${GUI_DBUS} ${DESTDIR}/usr/share/dbus-1/services
                @cp ${GUI_OTHER} ${DESTDIR}/usr/share/applications/hildon
-               @cp -a ${GUI_LOCALE}* ${DESTDIR}/usr/share/locale/
-               
+               @cp -a ${GUI_LOCALE}* ${DESTDIR}/usr/share/locale/              
 #              @find  ${GUI_DOC} -type f -not -path *.svn* -exec cp {} ${DESTDIR}/usr/share/doc/${GUI_PACK_NAME} \;
 
+install-plugins: plugins
                @install -d ${PLUGINS_DIRS}
                @cp ${PLUGINS_LIB} ${DESTDIR}/usr/lib/WhiteStork
                @cp ${PLUGINS_ICONS} ${DESTDIR}/usr/share/pixmaps
-               
+               @install -d ${MNG_DICT_DIRS}
+               @cp ${MNG_DICT1}
+               @cp ${MNG_DICT2}
 #              @find  ${PLUGINS_DOC} -type f -not -path *.svn* -exec cp {} ${DESTDIR}/usr/share/doc/${PLUGINS_PACK_NAME} \;
 
+install:       install-manager install-gui install-plugins
                @echo -e "\n\nIf you are installing whitestork, please run 'make entries', before running the application ( not as root )\n\n"
 
 entries: