File: Makefile.am

package info (click to toggle)
see 0.72-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,188 kB
  • sloc: ansic: 2,691; sh: 1,072; makefile: 47
file content (25 lines) | stat: -rw-r--r-- 1,012 bytes parent folder | download | duplicates (4)
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 = src
buildextra = @builddir@/extra
pkgdatadir = $(DESTDIR)$(datadir)/seetxt-runtime

install-data-am:
	-install --mode=644 $(buildextra)/seetxt.1 $(DESTDIR)$(mandir)/man1/
	@echo " "
	@echo "Installing some additional files in $(DESTDIR)$(pkgdatadir)..."
	@echo " "
	-mkdir $(pkgdatadir)
	-install --mode=644 $(buildextra)/seeon.png $(buildextra)/seeoff.png $(buildextra)/.seeconfig $(buildextra)/COPYING.images $(DESTDIR)$(pkgdatadir)
	-install --mode=666 $(buildextra)/filelist $(DESTDIR)$(pkgdatadir)
	-cd $(DESTDIR)$(mandir)/man1; ln -s seetxt.1 seeman.1
	-cd $(DESTDIR)$(bindir); ln -s seetxt seeman

uninstall: uninstall-recursive
	@echo " "
	@echo "Thanks for trying seetxt.  Note that uninstall does not remove anything from user home directories (eg, ~/.seedata)."
	@echo " "
	-rm $(DESTDIR)$(pkgdatadir)/* 
	-rm $(DESTDIR)$(pkgdatadir)/.seeconfig 
	-rm $(DESTDIR)$(mandir)/man1/seetxt.1 
	-rm $(DESTDIR)$(mandir)/man1/seeman.1 
	-rm $(DESTDIR)$(bindir)/seeman 
	-rmdir $(DESTDIR)$(pkgdatadir)