File: Makefile.am

package info (click to toggle)
lpe 1.2.8-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 4,244 kB
  • ctags: 2,848
  • sloc: ansic: 27,612; sh: 12,468; makefile: 689; yacc: 291; cs: 137; perl: 111; sed: 16
file content (44 lines) | stat: -rw-r--r-- 1,352 bytes parent folder | download
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
SUBDIRS = data man po src

MAINTAINERCLEANFILES = ABOUT-NLS INSTALL Makefile.in aclocal.m4 config.guess \
		     config.h.in config.sub configure install-sh ltconfig \
		     ltmain.sh missing mkinstalldirs stamp-h.in

docdir = $(datadir)/doc/lpe
doc_DATA = AUTHORS BUGS COPYING CUSTOMIZE IDEAS MODES NEWS README TODO

EXTRA_DIST = config.rpath m4/ChangeLog  $(doc_DATA) autogen.sh

dist-hook:
	chmod -R go-w $(distdir)

bin-dist: all
	rm -rf $(PACKAGE)-$(VERSION).bin
	$(MAKE) prefix=`pwd`/$(PACKAGE)-$(VERSION).bin/$(prefix) install
	@if test "x$(GZIP_ENV)" = "x"; then \
		if test "x$(GZIP)" = "x"; then \
			GZIP="--best"; \
		else \
			GZIP_ENV=$(GZIP); \
		fi \
	fi
	GZIP=$(GZIP_ENV) $(TAR) chozf $(PACKAGE)-$(VERSION).bin.tar.gz $(PACKAGE)-$(VERSION).bin
	rm -rf $(PACKAGE)-$(VERSION).bin

cvs-dist: dist
	rm -rf $(PACKAGE)-$(VERSION)CVS
	rm -rf $(PACKAGE)-$(VERSION)
	tar xhozf $(PACKAGE)-$(VERSION).tar.gz
	(cd $(PACKAGE)-$(VERSION); ./configure --enable-maintainer-mode ; make maintainer-clean; cd ..)
	mv $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION)CVS
	@if test "x$(GZIP_ENV)" = "x"; then \
		if test "x$(GZIP)" = "x"; then \
			GZIP_ENV="--best"; \
		else \
			GZIP_ENV="$(GZIP)"; \
		fi \
	fi
	GZIP=$(GZIP_ENV) $(TAR) chozf $(PACKAGE)-$(VERSION)CVS.tar.gz $(PACKAGE)-$(VERSION)CVS
	rm -rf $(PACKAGE)-$(VERSION)CVS

ACLOCAL_AMFLAGS = -I m4