Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
emulab-devel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Emmanuel Cecchet
emulab-devel
Commits
71477327
Commit
71477327
authored
19 years ago
by
Mike Hibler
Browse files
Options
Downloads
Patches
Plain Diff
Make sure DESTDIR works for Linux
parent
62d784f1
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tmcd/linux/GNUmakefile.in
+12
-9
12 additions, 9 deletions
tmcd/linux/GNUmakefile.in
with
12 additions
and
9 deletions
tmcd/linux/GNUmakefile.in
+
12
−
9
View file @
71477327
...
...
@@ -38,6 +38,9 @@ INSTALL ?= /usr/bin/install -c
COMMON ?= $(SRCDIR)/../common
DEFRUNLVLDIR ?= $(RCDIR)/rc3.d
# without DESTDIR, used for the value of symlinks
RRCDIR ?= $(CLIENT_ETCDIR)/rc.d
install client-install: common-install etc-install \
sup-install script-install bin-install
@echo "Remember to install the PEM files if necessary"
...
...
@@ -94,9 +97,9 @@ sysetc-install: dir-install ifcfgs
$(INSTALL) -m 644 ifcfg-eth[0-9]* $(SYSETCDIR)/sysconfig/network-scripts
$(INSTALL) -m 755 $(SRCDIR)/ntpd.sh $(RCDIR)/init.d/ntpd
$(INSTALL) -m 755 $(SRCDIR)/testbed $(RCDIR)/init.d/testbed
-ln -sf $(RCDIR)/init.d/testbed $(DEFRUNLVLDIR)/S96testbed
-ln -sf $(RCDIR)/init.d/testbed $(RCDIR)/rc1.d/K12testbed
-ln -sf $(RCDIR)/init.d/testbed $(RCDIR)/rc6.d/K12testbed
-ln -sf $(
R
RCDIR)/init.d/testbed $(DEFRUNLVLDIR)/S96testbed
-ln -sf $(
R
RCDIR)/init.d/testbed $(RCDIR)/rc1.d/K12testbed
-ln -sf $(
R
RCDIR)/init.d/testbed $(RCDIR)/rc6.d/K12testbed
$(INSTALL) -m 755 -o root -g wheel -d $(SYSETCDIR)/cron.pend
if [ -e $(SYSETCDIR)/cron.daily/slocate.cron ]; then \
mv -f $(SYSETCDIR)/cron.daily/slocate.cron \
...
...
@@ -107,11 +110,11 @@ sysetc-install: dir-install ifcfgs
$(SYSETCDIR)/cron.pend; \
fi
$(INSTALL) -m 755 $(SRCDIR)/elvin.sh $(RCDIR)/init.d/elvin
-ln -sf $(RCDIR)/init.d/elvin $(DEFRUNLVLDIR)/S96elvin
-ln -sf $(RCDIR)/init.d/elvin $(RCDIR)/rc1.d/K12elvin
-ln -sf $(RCDIR)/init.d/elvin $(RCDIR)/rc6.d/K12elvin
-ln -sf $(
R
RCDIR)/init.d/elvin $(DEFRUNLVLDIR)/S96elvin
-ln -sf $(
R
RCDIR)/init.d/elvin $(RCDIR)/rc1.d/K12elvin
-ln -sf $(
R
RCDIR)/init.d/elvin $(RCDIR)/rc6.d/K12elvin
$(INSTALL) -m 755 $(SRCDIR)/rc.local $(RCDIR)/rc.local
-ln -sf $(RCDIR)/rc.local $(SYSETCDIR)/rc.local
-ln -sf $(
R
RCDIR)/rc.local $(SYSETCDIR)/rc.local
sysetc-remove:
-rm -f $(RCDIR)/*/S95anacron $(RCDIR)/*/K05anacron
...
...
@@ -136,8 +139,8 @@ script-install: dir-install $(SCRIPTS)
sfs-install:
$(INSTALL) -m 755 -o root -g wheel -d $(DESTDIR)/etc/sfs
$(INSTALL) -m 755 $(SRCDIR)/sfs.sh $(RCDIR)/init.d/sfs
-ln -sf $(RCDIR)/init.d/nfs $(DEFRUNLVLDIR)/S20nfs
-ln -sf $(RCDIR)/init.d/sfs $(RCDIR)/rc6.d/K19sfs
-ln -sf $(
R
RCDIR)/init.d/nfs $(DEFRUNLVLDIR)/S20nfs
-ln -sf $(
R
RCDIR)/init.d/sfs $(RCDIR)/rc6.d/K19sfs
$(INSTALL) -m 644 $(SRCDIR)/exports $(ETCDIR)/exports
$(INSTALL) -m 644 $(SRCDIR)/sfsrwsd_config $(ETCDIR)/sfs/sfsrwsd_config
$(INSTALL) -m 644 $(SRCDIR)/sfssd_config $(ETCDIR)/sfs/sfssd_config
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment