File: BSDmakefile

package info (click to toggle)
docx2txt 1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 188 kB
  • sloc: perl: 391; sh: 49; makefile: 35
file content (23 lines) | stat: -rw-r--r-- 452 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# BSD makefile for docx2txt
#

BINDIR ?= /usr/local/bin
CONFIGDIR ?= /etc

INSTALL != which install

BINFILES = docx2txt.sh docx2txt.pl
CONFIGFILE = docx2txt.config

.PHONY: install installbin installconfig

install: installbin installconfig

installbin: $(BINFILES)
	[ -d $(BINDIR) ] || mkdir -p $(BINDIR)
	$(INSTALL) -m 755 $> $(BINDIR)

installconfig: $(CONFIGFILE)
	[ -d $(CONFIGDIR) ] || mkdir -p $(CONFIGDIR)
	$(INSTALL) -m 755 $> $(CONFIGDIR)