Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (20 sloc) 693 Bytes
prefix ?= /usr
bindir = ${prefix}/bin
mandir = ${prefix}/share/man
INSTALL = /usr/bin/install
INSTALLPROG = ${INSTALL} -m 0755
INSTALLMAN = ${INSTALL} -m 0644
all:
make -C xembed xembed.o
make -C trayion
clean:
make -C xembed clean
make -C trayion clean
install: trayion/trayion
mkdir -p ${DESTDIR}${bindir}
mkdir -p ${DESTDIR}${mandir}/man1
${INSTALLPROG} trayion/trayion ${DESTDIR}${bindir}/trayion
${INSTALLPROG} trayion-dump.sh ${DESTDIR}${bindir}/trayion-dump
${INSTALLPROG} trayion-reload.sh ${DESTDIR}${bindir}/trayion-reload
${INSTALLPROG} trayion-crash-kludge.sh ${DESTDIR}${bindir}/trayion-crash-kludge.sh
${INSTALLMAN} doc/trayion.1 ${DESTDIR}${mandir}/man1/trayion.1