File: Makefile

package info (click to toggle)
apt-move 4.2.27-3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 452 kB
  • ctags: 234
  • sloc: sh: 6,348; awk: 275; perl: 170; cpp: 116; makefile: 24
file content (31 lines) | stat: -rw-r--r-- 626 bytes parent folder | download | duplicates (8)
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
# Debian makefile for apt-move

CXXFLAGS = -g -O2 -Wall
LDLIBS = -lapt-pkg

DESTDIR =

PREFIX = $(DESTDIR)/usr
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man/man8
CONFDIR = $(DESTDIR)/etc
LIBDIR = $(PREFIX)/lib/apt-move
SHAREDIR = $(PREFIX)/share/apt-move

all: fetch

fetch: fetch.o
	$(CXX) -o $@ $(LDFLAGS) $^ $(LOADLIBS) $(LDLIBS)

clean:
	rm -f fetch *.o

install: fetch
	install -p apt-move $(BINDIR)
	install fetch $(LIBDIR)
	install del1 move3 pkg1 $(SHAREDIR)
	install -m 644 get[23] move[4-7] *.awk Contents.head $(SHAREDIR)
	cp -p apt-move.conf $(CONFDIR)
	cp -p apt-move.8 $(MANDIR)

.PHONY: all clean install