File: makeinfo.in

package info (click to toggle)
ticker 1.2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 220 kB
  • ctags: 35
  • sloc: ansic: 259; perl: 159; sh: 153; makefile: 56
file content (44 lines) | stat: -rw-r--r-- 1,211 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
# Uncomment the following line to debug with Electric Fence.
#EFENCE = -lefence

# Uncomment the following to allow profiling.
#PROFILE = -pg

prefix		= @prefix@
exec_prefix	= @exec_prefix@
BINDIR		= @bindir@
MANDIR		= @mandir@
LIBDIR		= @libdir@/pdmenu
SYSCONFDIR	= @sysconfdir@
CC		= @CC@
INSTALL		= @INSTALL@
LN_S		= @LN_S@
VER		= @VER@
DEFINES		= $(PROFILE)
CFLAGS_FOR_GCC	= -Wall
CFLAGS		= $(DEFINES) @gcc_cflags@ @CFLAGS@
LIBS		= @LIBS@ $(EFENCE)
VER		= ${shell perl -ne 's/ticker \((.*)\) /print $$1/e ; exit' CHANGELOG}

all: ticker
ticker: ticker.c
	gcc ticker.c -o ticker $(CFLAGS) $(LIBS)

test: ticker
	PATH=.:$$PATH ./freshmeat-ticker

distclean: clean
	find . -name '\#*\#' -o -name '*.bak' -o -name '.??*' -o \
		-name '*~' -o -name '.gdb_history' -exec rm {} \;
	rm -f gmon.out config.h config.cache config.log config.status \
		makeinfo slang.h

clean:
	rm -f ticker

install:
	$(INSTALL) -d $(INSTALL_PREFIX)/$(MANDIR)/man1 $(INSTALL_PREFIX)/$(BINDIR)
	$(INSTALL) -s ticker $(INSTALL_PREFIX)/$(BINDIR)
	$(INSTALL) freshmeat-ticker $(INSTALL_PREFIX)/$(BINDIR)
	$(INSTALL) -m 0644 ticker.1 $(INSTALL_PREFIX)/$(MANDIR)/man1
	$(INSTALL) -m 0644 freshmeat-ticker.1 $(INSTALL_PREFIX)/$(MANDIR)/man1