File: Makefile.am

package info (click to toggle)
linpac 0.24-3
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 3,764 kB
  • ctags: 2,761
  • sloc: cpp: 17,368; sh: 10,621; ansic: 4,033; makefile: 186; perl: 101
file content (37 lines) | stat: -rw-r--r-- 1,358 bytes parent folder | download | duplicates (2)
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
## Process this file with automake to produce Makefile.in

## Automake options should match the init call in configure.ac
AUTOMAKE_OPTIONS = gnu -Wall -Werror

## See https://bugzilla.redhat.com/show_bug.cgi?id=901333 for more
## information about ACLOCAL_AMFLAGS
## The work-around for this bug is to commit the m4/ directory.
ACLOCAL_AMFLAGS = -I m4

SUBDIRS = contrib ctt data doc macro mail src inst plugins

dist_pkgdata_DATA = README NEWS
EXTRA_DIST = linpac.lsm COPYING generate-ChangeLog.sh

dist-hook:
	sh $(top_srcdir)/generate-ChangeLog.sh $(top_srcdir) $(distdir)

.PHONY: noinstall

noinstall:
	@if [ -x ./src/linpac ]; then \
	(cd src && @LN_S@ applications bin >/dev/null 2>/dev/null); \
	(cd src && @LN_S@ ../macro macro >/dev/null 2>/dev/null); \
	(cd src && @LN_S@ ../mail mail >/dev/null 2>/dev/null); \
	(cd src && mkdir save >/dev/null 2>/dev/null); \
	(cd src && mkdir user >/dev/null 2>/dev/null); \
	(cd src && mkdir log >/dev/null 2>/dev/null); \
	(cd src/applications && @LN_S@ autobin autotx); \
	(cd src/applications && @LN_S@ rawio rawtx); \
	(cd src/applications && @LN_S@ yapp yapptx); \
	(cd src/applications && @LN_S@ mailer/mail mail); \
	cp ctt/*.ctt src; \
	(cd src/applications/liblinpac && make install); \
	echo LinPac is now prepared for running from ./src; \
	else echo Please execute the 'make' command first; \
	fi