1999-09-03 10:27:29 -04:00
|
|
|
# create default-config.h
|
|
|
|
config.h: default-config.h
|
|
|
|
|
1999-09-05 05:43:41 -04:00
|
|
|
default-config.h: $(srcdir)/config
|
|
|
|
$(srcdir)/file2header.sh $(srcdir)/config > default-config.h
|
1999-09-03 10:27:29 -04:00
|
|
|
|
|
|
|
if BUILD_PLUGINS
|
|
|
|
PLUGINS=plugins
|
|
|
|
endif
|
|
|
|
if BUILD_SERVERTEST
|
|
|
|
SERVERTEST=servertest
|
|
|
|
endif
|
|
|
|
|
1999-10-30 11:56:53 -04:00
|
|
|
SUBDIRS = po intl macros src $(PLUGINS) $(SERVERTEST) docs
|
1999-09-03 10:27:29 -04:00
|
|
|
|
|
|
|
## to automatically rebuild aclocal.m4 if any of the macros in
|
|
|
|
## `macros/' change
|
1999-10-16 18:53:30 -04:00
|
|
|
@MAINT@include macros/macros.dep
|
1999-10-16 07:05:08 -04:00
|
|
|
@MAINT@macros/macros.dep: $(srcdir)/macros/Makefile.am
|
1999-10-16 18:53:30 -04:00
|
|
|
@MAINT@ cd macros && $(MAKE) macros.dep
|
1999-09-03 10:27:29 -04:00
|
|
|
|
|
|
|
if HAVE_GNOME
|
|
|
|
appletdir = $(datadir)/applets/Network
|
|
|
|
applet_DATA = irssi.desktop
|
|
|
|
|
|
|
|
corbadir = $(sysconfdir)/CORBA/servers
|
|
|
|
corba_DATA = irssi.gnorba
|
|
|
|
endif
|
|
|
|
|
|
|
|
confdir = $(sysconfdir)/irssi
|
|
|
|
conf_DATA = config colorless.theme
|
|
|
|
|
1999-11-20 09:00:24 -05:00
|
|
|
EXTRA_DIST = \
|
1999-09-03 10:27:29 -04:00
|
|
|
autogen.sh \
|
|
|
|
README-HEBREW \
|
|
|
|
file2header.sh \
|
|
|
|
irssi.spec \
|
|
|
|
$(conf_DATA) \
|
|
|
|
irssi.gnorba \
|
|
|
|
irssi.desktop
|
1999-09-04 07:42:33 -04:00
|
|
|
|
|
|
|
## make rpms
|
|
|
|
rpm: Makefile
|
|
|
|
$(MAKE) dist
|
|
|
|
rpm -ta --clean $(PACKAGE)-$(VERSION).tar.gz
|