Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
473d2525
Commit
473d2525
authored
Nov 29, 2000
by
Leigh B. Stoller
Browse files
Start of a proper makefile with an install target.
parent
434a2a10
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/GNUmakefile
0 → 100644
View file @
473d2525
SCRIPTS
=
SUSCRIPTS
=
mkprojdir
INSTALL
=
install
-c
INSTALL_BINDIR
=
/usr/testbed/bin
all
:
$(BINS)
install
:
$(addprefix $(INSTALL_BINDIR)/
,
$(SCRIPTS))
\
$(addprefix $(INSTALL_BINDIR)/
,
$(SUSCRIPTS))
@
echo
"Don't forget to do a post-install as root"
$(INSTALL_BINDIR)/%
:
%
@
echo
"Installing
$<
"
-
mkdir
-p
$(INSTALL_BINDIR)
$(INSTALL)
$<
$@
post-install
:
chown
root
$(INSTALL_BINDIR)
/mkprojdir
chmod
u+s
$(INSTALL_BINDIR)
/mkprojdir
clean
:
rm
-f
*
.o
$(BINS)
core
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment