-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
48 lines (40 loc) · 1.59 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
## $Id: Makefile.am,v 1.36 2004/03/22 13:31:06 kir Exp $
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = foreign no-installinfo
SUBDIRS = src doc etc include misc man
txt_DOCS = README INSTALL AUTHORS COPYING NEWS THANKS TODO FAQ README.rpm \
RELEASE-NOTES README.APACHE_MODULE
EXTRA_DIST = acconfig.h ${txt_DOCS}
# create /var
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(localstatedir)
@echo
@echo " *** ***"
@echo " *** Now, after the installation, you need to create necessary SQL stuff. ***"
@echo " *** So, read INSTALL file and your RDBMS manual. ***"
if MYSQL
@echo " *** ***"
@echo " *** If you are using MySQL, you may have find useful script named ***"
@echo
@echo " $(DESTDIR)$(sbindir)/aspseek-mysql-postinstall"
@echo
@echo " *** It will (hopefully) create all needed SQL stuff for you. ***"
endif
@echo " *** ***"
@echo
# Remove dirs if empty
uninstall-local:
-rmdir $(DESTDIR)$(localstatedir)
-rmdir $(DESTDIR)$(bindir)
-rmdir $(DESTDIR)$(sbindir)
-rmdir $(DESTDIR)$(libdir)
-rmdir $(DESTDIR)$(prefix)
# This is for making (S)RPM files.
rpms: dist misc/aspseek.spec
cp aspseek-$(VERSION).tar.gz `rpm --eval "%{_sourcedir}"`
rpm -ba --nodeps misc/aspseek.spec
manual:
make -C man manual
@echo -e "\nManual is available as man/manual.pdf"
faq.html: $(srcdir)/FAQ
$(srcdir)/misc/faq2html $< > $@