bin_PROGRAMS = abook
-abook_SOURCES = abook.c database.c filter.c list.c misc.c conff.c \
+abook_SOURCES = abook.c database.c filter.c list.c misc.c \
options.c edit.c ldif.c ui.c getname.c \
getopt.c getopt1.c abook_rl.c \
- abook.h database.h filter.h list.h misc.h help.h conff.h \
+ abook.h database.h filter.h list.h misc.h help.h \
options.h edit.h ldif.h abook_curses.h ui.h getname.h \
getopt.h abook_rl.h
-EXTRA_DIST = ANNOUNCE BUGS FAQ abook.1 abookrc.5 sample.abookrc
+EXTRA_DIST = ANNOUNCE BUGS FAQ abook.1 abookrc.5 sample.abookrc abook.spec
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
-CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_FILES = abook.spec
PROGRAMS = $(bin_PROGRAMS)
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
-abook_OBJECTS = abook.o database.o filter.o list.o misc.o conff.o \
-options.o edit.o ldif.o ui.o getname.o getopt.o getopt1.o abook_rl.o
+abook_OBJECTS = abook.o database.o filter.o list.o misc.o options.o \
+edit.o ldif.o ui.o getname.o getopt.o getopt1.o abook_rl.o
abook_LDADD = $(LDADD)
abook_DEPENDENCIES =
abook_LDFLAGS =
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
-Makefile.am Makefile.in NEWS THANKS TODO acconfig.h acinclude.m4 \
-aclocal.m4 config.guess config.h.in config.sub configure configure.in \
-install-sh missing mkinstalldirs
+Makefile.am Makefile.in NEWS THANKS TODO abook.spec.in acconfig.h \
+acinclude.m4 aclocal.m4 config.guess config.h.in config.sub configure \
+configure.in install-sh missing mkinstalldirs
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
GZIP_ENV = --best
-DEP_FILES = .deps/abook.P .deps/abook_rl.P .deps/conff.P \
-.deps/database.P .deps/edit.P .deps/filter.P .deps/getname.P \
-.deps/getopt.P .deps/getopt1.P .deps/ldif.P .deps/list.P .deps/misc.P \
-.deps/options.P .deps/ui.P
+DEP_FILES = .deps/abook.P .deps/abook_rl.P .deps/database.P \
+.deps/edit.P .deps/filter.P .deps/getname.P .deps/getopt.P \
+.deps/getopt1.P .deps/ldif.P .deps/list.P .deps/misc.P .deps/options.P \
+.deps/ui.P
SOURCES = $(abook_SOURCES)
OBJECTS = $(abook_OBJECTS)
-rm -f config.h
maintainer-clean-hdr:
+abook.spec: $(top_builddir)/config.status abook.spec.in
+ cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
mostlyclean-binPROGRAMS: