98 lines
3.5 KiB
Plaintext
98 lines
3.5 KiB
Plaintext
$OpenBSD: patch-Makefile_gdesklets_am,v 1.1 2011/04/20 15:25:47 ajacoutot Exp $
|
|
|
|
http://mail.gnome.org/archives/gdesklets-list/2011-February/msg00001.html
|
|
(should be fixed next release -- patch from Gentoo)
|
|
|
|
--- Makefile_gdesklets.am.orig Thu Jan 13 15:30:26 2011
|
|
+++ Makefile_gdesklets.am Wed Apr 20 16:33:01 2011
|
|
@@ -1,12 +1,14 @@
|
|
# Set the LDFLAGS for this section
|
|
AM_LDFLAGS = -module -avoid-version -as-needed
|
|
|
|
+# Libraries that get installed in these exact subdirectories
|
|
nobase_install_LTLIBRARIES = \
|
|
libdesklets/system/gtop.la \
|
|
utils/svg.la \
|
|
utils/tiling.la \
|
|
utils/x11.la
|
|
|
|
+# Scripts that get distributed and installed
|
|
dist_install_SCRIPTS = \
|
|
ctrlinfo \
|
|
gdesklets \
|
|
@@ -16,38 +18,62 @@ dist_install_SCRIPTS = \
|
|
gdesklets-shell \
|
|
test-control.py
|
|
|
|
+# "System" scripts that get distributed but not installed
|
|
dist_noinst_SCRIPTS = autogen.sh
|
|
|
|
+# Man page
|
|
dist_man_MANS = doc/man/gdesklets.1
|
|
|
|
-EXTRA_DIST = \
|
|
- AUTHORS \
|
|
- COPYING \
|
|
- README \
|
|
- TODO \
|
|
- NEWS \
|
|
- contrib/bash/gdesklets
|
|
+# The .desktop file
|
|
+desktop_in_files = data/gdesklets.desktop.in
|
|
+# The shared mime XML file
|
|
+sharedmimepackage_in_files = data/gdesklets.xml.in
|
|
|
|
+# Other odds and ends that get distributed, but not installed
|
|
+# It's up to distro package maintainers to install these
|
|
+EXTRA_DIST = \
|
|
+ AUTHORS \
|
|
+ COPYING \
|
|
+ README \
|
|
+ TODO \
|
|
+ NEWS \
|
|
+ contrib/bash/gdesklets \
|
|
+ $(desktop_in_files) \
|
|
+ $(sharedmimepackage_in_files)
|
|
+
|
|
+# Docs and images that get distributed and installed to these specific
|
|
+# directories
|
|
+nobase_dist_install_DATA += \
|
|
+ doc/basic/gdesklets-doc.xml \
|
|
+ doc/basic/Images/desklet-context-menu.png \
|
|
+ doc/basic/Images/desklet-start-shell.png \
|
|
+ doc/basic/Images/gdesklets.png \
|
|
+ doc/basic/Images/open-command.png \
|
|
+ doc/basic/Images/preferences.png \
|
|
+ doc/basic/Images/profile.png \
|
|
+ doc/basic/Images/remote.png \
|
|
+ doc/basic/Images/shell.png \
|
|
+ data/about.png \
|
|
+ data/gdesklets.png
|
|
+
|
|
+# Additional files that get cleaned by distclean
|
|
# See http://www.gnu.org/software/hello/manual/automake/Clean.html
|
|
CLEANFILES = \
|
|
po/.intltool-merge-cache
|
|
|
|
# The .desktop file
|
|
-desktop_in_files = data/gdesklets.desktop.in
|
|
-dist_desktop_DATA= $(desktop_in_files)
|
|
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
|
autostart_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
|
@INTLTOOL_DESKTOP_RULE@
|
|
|
|
# The shared mime XML file
|
|
-sharedmimepackage_in_files = data/gdesklets.xml.in
|
|
-dist_sharedmimepackage_DATA = $(sharedmimepackage_in_files)
|
|
sharedmimepackage_DATA = $(sharedmimepackage_in_files:.xml.in=.xml)
|
|
@INTLTOOL_XML_RULE@
|
|
|
|
# And the mime icon
|
|
-mimeicon_DATA = data/gnome-mime-application-x-gdesklets-display.png
|
|
+dist_mimeicon_DATA = data/gnome-mime-application-x-gdesklets-display.png
|
|
|
|
+# Note, this gets installed in both $(pixmapdir) and $(installdir)
|
|
pixmap_DATA = data/gdesklets.png
|
|
|
|
libdesklets_system_gtop_la_CFLAGS = $(GLIBTOP_CFLAGS) \
|