This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-mbse/mbtask/Makefile.am

35 lines
1.0 KiB
Makefile
Raw Normal View History

2001-08-17 05:46:24 +00:00
## Process this file with automake to produce Makefile.in
SUBDIRS = .
EXTRA_DIST = issue
noinst_PROGRAMS = mbtask
mbtask_SOURCES = mbtask.c mbtask.h signame.c signame.h taskutil.c taskutil.h \
taskcomm.c taskcomm.h taskstat.c taskstat.h taskdisk.c taskdisk.h \
taskregs.c taskregs.h taskinfo.c taskinfo.h outstat.c outstat.h \
scanout.c scanout.h nodelist.c nodelist.h callstat.c callstat.h libs.h
LDADD = ../lib/libmemwatch.a
install-exec-local:
@if [ "$(shell whoami)" != "root" ] ; then \
echo; echo " Must be root to install!"; echo; exit 3; \
fi
$(INSTALL) -s -o root -g root -m 6711 mbtask $(bindir)
@if [ -f $(sysconfdir)/mbsed.conf ]; then \
rm $(sysconfdir)/mbsed.conf ; \
fi
@if [ -f $(sysconfdir)/client.conf ]; then \
rm $(sysconfdir)/client.conf ; \
fi
@if [ -f $(bindir)/mbsed ]; then \
rm $(bindir)/mbsed ; \
fi
@if [ ! -f $(sysconfdir)/issue ]; then \
$(INSTALL) -o @OWNER@ -g @GROUP@ -m 0644 issue $(sysconfdir) ; \
echo "$(INSTALL) -o @OWNER@ -g @GROUP@ -m 0644 issue $(sysconfdir)"; \
fi