build: Let 'make dist' do a better job
This commit is contained in:
parent
1d8dd50455
commit
b8e7dfa4ba
8 changed files with 16 additions and 8 deletions
|
@ -4,5 +4,4 @@ ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
SUBDIRS = po src plugins data
|
SUBDIRS = po src plugins data
|
||||||
|
|
||||||
EXTRA_DIST = autogen.sh data
|
EXTRA_DIST = autogen.sh Doxyfile readme.md
|
||||||
|
|
||||||
|
|
|
@ -3,3 +3,6 @@ SUBDIRS = pkgconfig man
|
||||||
if DO_GTK
|
if DO_GTK
|
||||||
SUBDIRS += icons misc
|
SUBDIRS += icons misc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = \
|
||||||
|
hexchat.gresource.xml
|
||||||
|
|
|
@ -11,3 +11,5 @@ install-data-hook:
|
||||||
|
|
||||||
uninstall-hook:
|
uninstall-hook:
|
||||||
$(UPDATE_ICON_CACHE);
|
$(UPDATE_ICON_CACHE);
|
||||||
|
|
||||||
|
EXTRA_DIST = $(icon_DATA) $(hicolor_DATA)
|
||||||
|
|
|
@ -26,4 +26,6 @@ uninstall-hook:
|
||||||
$(UPDATE_MIME_DATABASE);
|
$(UPDATE_MIME_DATABASE);
|
||||||
$(UPDATE_DESKTOP_DATABASE);
|
$(UPDATE_DESKTOP_DATABASE);
|
||||||
|
|
||||||
|
EXTRA_DIST = hexchat.appdata.xml.in hexchat.desktop.in htm.desktop.in htm-mime.xml
|
||||||
|
|
||||||
CLEANFILES = $(appdata_DATA) $(data_desktop_DATA)
|
CLEANFILES = $(appdata_DATA) $(data_desktop_DATA)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
EXTRA_DIST = INSTALL LICENSE
|
EXTRA_DIST = INSTALL LICENSE fish.h irc.h keystore.h plugin_hexchat.h
|
||||||
|
|
||||||
libdir = $(hexchatlibdir)
|
libdir = $(hexchatlibdir)
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@ EXTRA_DIST = \
|
||||||
inbound.h \
|
inbound.h \
|
||||||
inet.h \
|
inet.h \
|
||||||
make-te.c \
|
make-te.c \
|
||||||
|
marshalers.list \
|
||||||
modes.h \
|
modes.h \
|
||||||
network.h \
|
network.h \
|
||||||
notify.h \
|
notify.h \
|
||||||
|
|
|
@ -7,15 +7,14 @@ bin_PROGRAMS = hexchat
|
||||||
|
|
||||||
AM_CPPFLAGS = $(GUI_CFLAGS) -DLOCALEDIR=\"$(localedir)\"
|
AM_CPPFLAGS = $(GUI_CFLAGS) -DLOCALEDIR=\"$(localedir)\"
|
||||||
|
|
||||||
hexchat_LDADD = ../common/libhexchatcommon.a $(GUI_LIBS)
|
hexchat_LDADD = $(top_builddir)/src/common/libhexchatcommon.a $(GUI_LIBS)
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
ascii.h banlist.h chanlist.h chanview.h chanview-tabs.c \
|
ascii.h banlist.h chanlist.h chanview.h chanview-tabs.c \
|
||||||
chanview-tree.c custom-list.h editlist.h fe-gtk.h fkeys.h gtkutil.h joind.h \
|
chanview-tree.c custom-list.h editlist.h fe-gtk.h fkeys.h gtkutil.h joind.h \
|
||||||
maingui.h menu.h notifygui.h notifications palette.h pixmaps.h plugin-notification.h \
|
maingui.h menu.h notifygui.h notifications palette.h pixmaps.h plugin-notification.h \
|
||||||
plugin-tray.h plugingui.c plugingui.h rawlog.h sexy-iso-codes.h \
|
plugin-tray.h plugingui.c plugingui.h rawlog.h servlistgui.h setup.h sexy-iso-codes.h \
|
||||||
sexy-spell-entry.h textgui.h urlgrab.h userlistgui.h xtext.h \
|
sexy-spell-entry.h textgui.h urlgrab.h userlistgui.h xtext.h
|
||||||
../../data/hexchat.gresource.xml
|
|
||||||
|
|
||||||
BUILT_SOURCES = resources.h resources.c
|
BUILT_SOURCES = resources.h resources.c
|
||||||
|
|
||||||
|
@ -53,6 +52,8 @@ resources.h: $(top_srcdir)/data/hexchat.gresource.xml $(shell $(GLIB_COMPILE_RES
|
||||||
resources.c: $(top_srcdir)/data/hexchat.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(top_srcdir)/data --generate-dependencies $(top_srcdir)/data/hexchat.gresource.xml)
|
resources.c: $(top_srcdir)/data/hexchat.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(top_srcdir)/data --generate-dependencies $(top_srcdir)/data/hexchat.gresource.xml)
|
||||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(top_srcdir)/data --generate-source --manual-register $<
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(top_srcdir)/data --generate-source --manual-register $<
|
||||||
|
|
||||||
|
EXTRA_DIST += $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir=$(top_srcdir)/data $(top_srcdir)/data/hexchat.gresource.xml)
|
||||||
|
|
||||||
if DO_STATIC_ANALYSIS
|
if DO_STATIC_ANALYSIS
|
||||||
analyze_plists = $(hexchat_SOURCES:%.c=%.plist)
|
analyze_plists = $(hexchat_SOURCES:%.c=%.plist)
|
||||||
all-local: $(analyze_plists)
|
all-local: $(analyze_plists)
|
||||||
|
|
|
@ -4,6 +4,6 @@ bin_PROGRAMS = hexchat-text
|
||||||
|
|
||||||
AM_CPPFLAGS = $(COMMON_CFLAGS) -DLOCALEDIR=\"$(localedir)\"
|
AM_CPPFLAGS = $(COMMON_CFLAGS) -DLOCALEDIR=\"$(localedir)\"
|
||||||
|
|
||||||
hexchat_text_LDADD = ../common/libhexchatcommon.a $(COMMON_LIBS)
|
hexchat_text_LDADD = $(top_builddir)/src/common/libhexchatcommon.a $(COMMON_LIBS)
|
||||||
hexchat_text_SOURCES = fe-text.c fe-text.h
|
hexchat_text_SOURCES = fe-text.c fe-text.h
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue