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
|
|
|
|
|
2000-03-02 13:03:17 -05:00
|
|
|
SUBDIRS = po intl macros src $(PLUGINS) $(SERVERTEST) docs examples
|
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
|
2000-01-12 21:13:20 -05:00
|
|
|
desktopdir = $(datadir)/gnome/apps/Network
|
|
|
|
desktop_DATA = irssi.desktop
|
1999-09-03 10:27:29 -04:00
|
|
|
|
|
|
|
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 \
|
1999-11-23 15:47:48 -05:00
|
|
|
README \
|
1999-09-03 10:27:29 -04:00
|
|
|
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
|