File: Makefile

package info (click to toggle)
xmp 2.0.4d-9
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,836 kB
  • ctags: 3,406
  • sloc: ansic: 23,689; sh: 2,617; makefile: 751
file content (25 lines) | stat: -rw-r--r-- 685 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
# Extended Module Player etc/Makefile
# $Id: Makefile,v 1.3 2000/12/29 01:58:29 claudio Exp $

DFILES	= Makefile magic xmp.conf xmp.spec xmp.lsm xmp-modules.conf
DDIRS	=
CFILES	=
DCFILES	=

all:

subdist:: all

include ../Makefile.rules

install::
	[ -d $(DEST_DIR)/etc ] || mkdir -p $(DEST_DIR)/etc
	@echo Installing xmp.conf and xmp-modules.conf in $(DEST_DIR)...
	@if [ -f $(DEST_DIR)/etc/xmp.conf ]; then \
	    mv -f $(DEST_DIR)/etc/xmp.conf $(DEST_DIR)/etc/xmp.conf.old; \
	fi
	@if [ -f $(DEST_DIR)/etc/xmp-modules.conf ]; then \
	    mv -f $(DEST_DIR)/etc/xmp-modules.conf $(DEST_DIR)/etc/xmp-modules.conf.old; \
	fi
	$(INSTALL) -m644 xmp.conf xmp-modules.conf $(DEST_DIR)/etc