summaryrefslogtreecommitdiff
path: root/support/dktools/instdir.sh
blob: c993ee7e1d5df2251b42cd67b06d1ad0239f82f2 (plain)
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
#! /bin/sh

#
# Use by installation from Makefile.
# This script decides for each program to install, whether
# it goes to $(DESTDIR)$(sbindir) or $(DESTDIR)$(bindir).
#
# Arguments
# - Program to install
# - $(DESTDIR)$(sbindir)
# - $(DESTDIR)$(bindir)
#

case "$1" in
	printqd)
		echo $2
	;;
	rshdown)
		echo $2
	;;
	*)
		echo $3
	;;
esac

exit 0