File: Makefile.am

package info (click to toggle)
lurker 2.1-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,800 kB
  • ctags: 1,088
  • sloc: cpp: 10,527; sh: 1,348; xml: 1,278; perl: 206; makefile: 198
file content (25 lines) | stat: -rw-r--r-- 918 bytes parent folder | download | duplicates (6)
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
SUBDIRS = mymime libesort common index prune render ui imgs .
EXTRA_DIST = FAQ

install-data-local:
	$(mkinstalldirs) $(DESTDIR)$(default_config_dir)
	@echo
	@echo "*** PLEASE READ ***"
	@echo
	@echo "Lurker config files have not been installed (for your protection)"
	@echo "If you would like the default config files installed, run:"
	@echo "  make install-config"
	@echo
	@echo "*** PLEASE READ ***"
	@echo

install-config:
	$(mkinstalldirs) $(DESTDIR)$(localstatedir)/lib/$(PACKAGE)
	if ! test -f $(DESTDIR)$(localstatedir)/lib/$(PACKAGE)/db; then \
		echo 1 8192 255 > $(DESTDIR)$(localstatedir)/lib/$(PACKAGE)/db; \
	fi
	$(mkinstalldirs) $(DESTDIR)$(default_config_dir)
	$(INSTALL_DATA) lurker.conf apache.conf $(DESTDIR)$(default_config_dir)
	@echo
	@echo "Now put 'include $(default_config_dir)/apache.conf' in your apache config"
	@echo "And don't forget to setup a cron job as described in the INSTALL file"