OSDN Git Service

Makefile now installs desktop file and icons.
authorYves Combe <yves@ycombe.net>
Sun, 4 Feb 2007 11:24:28 +0000 (11:24 +0000)
committerYves Combe <yves@ycombe.net>
Sun, 4 Feb 2007 11:24:28 +0000 (11:24 +0000)
svn://old.homeip.net/code/mypaint@436

Makefile.am
configure.in
cross-configure.sh
desktop/Makefile.am [new file with mode: 0644]

index 8a21410..c57e222 100644 (file)
@@ -1,5 +1,7 @@
 INCLUDES = $(PYTHON_INCLUDES) $(PYGTK_CFLAGS)
 
+SUBDIRS= desktop
+
 defsdir = $(datadir)/pygtk/2.0/defs
 #pkgpyexecdir=$(pkglibdir)/pythonlib
 
@@ -20,7 +22,6 @@ avoid_version =
 # windows_flags =
 endif
 
-
 mydrawwidget_la_LDFLAGS = $(shared) $(no_undefined) $(common_ldflags) -module  -export-symbols-regex initmydrawwidget $(avoid_version)
 mydrawwidget_la_LIBADD = $(MYPAINT_LIBS) $(PYTHON_LIBS)
 
index d0c0c87..9b22bfa 100644 (file)
@@ -151,5 +151,6 @@ AM_CONDITIONAL(NSIS_INSTALLER, test x"$nsis" = xyes)
 
 AC_OUTPUT([Makefile
          nsis/mypaint.nsi
+         desktop/Makefile
 ])
 
index 10832ac..743105b 100755 (executable)
@@ -5,8 +5,8 @@
 CONFIG_SHELL=/bin/sh
 export CONFIG_SHELL
 TARGET=i586-mingw32msvc
-CROSS_DEV=$HOME/Win32/mypaint_win32
-DLLZIP=$HOME/MyPaintDLL.zip
+CROSS_DEV=$HOME/Dev/Win32/98/mypaint_win32
+DLLZIP=$HOME/Dev/MyPaint/MyPaintDLL.zip
 PATH="$PATH:$CROSS_DEV/bin"
 export PATH
 
diff --git a/desktop/Makefile.am b/desktop/Makefile.am
new file mode 100644 (file)
index 0000000..7057b3d
--- /dev/null
@@ -0,0 +1,5 @@
+applicationdir=$(datadir)/applications/
+application_DATA = mypaint.desktop
+
+icondir=$(datadir)/pixmaps
+icon_DATA = mypaint_128.png mypaint_48.png
\ No newline at end of file