File: Makefile

package info (click to toggle)
mpdtoys 0.8
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 80 kB
  • ctags: 6
  • sloc: perl: 495; sh: 58; makefile: 18
file content (18 lines) | stat: -rw-r--r-- 488 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
progs=mpstore mprev mpgenplaylists mpfade sats mpskip mptoggle mprand \
      mpinsert vipl

build:

install:
	install -d $(DESTDIR)/usr/bin/
	install $(progs) $(DESTDIR)/usr/bin/
	
	install -d $(DESTDIR)/usr/share/man/man1/
	for prog in $(progs); do \
		pod2man -c $$prog $$prog > $(DESTDIR)/usr/share/man/man1/$$prog.1; \
	done
	
	for link in mpload mpcp mpmv mpswap; do \
		ln -sf mpstore $(DESTDIR)/usr/bin/$$link; \
		ln -sf mpstore.1 $(DESTDIR)/usr/share/man/man1/$$link.1; \
	done