ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/Unix/Makefile.in
(Generate patch)

Comparing SheepShaver/src/Unix/Makefile.in (file contents):
Revision 1.10 by gbeauche, 2004-02-16T16:30:22Z vs.
Revision 1.11 by gbeauche, 2004-05-09T17:55:11Z

# Line 11 | Line 11 | datadir = @datadir@
11   mandir = @mandir@
12   man1dir = $(mandir)/man1
13  
14 + DESTDIR =
15 +
16   CC = @CC@
17   CXX = @CXX@
18   CFLAGS = @CFLAGS@
# Line 76 | Line 78 | modules:
78          cd NetDriver; make
79  
80   install: $(APP) installdirs
81 <        $(INSTALL_PROGRAM) $(APP) $(bindir)/$(APP)
82 <        -$(INSTALL_DATA) $(APP).1 $(man1dir)/$(APP).1
81 >        $(INSTALL_PROGRAM) $(APP) $(DESTDIR)$(bindir)/$(APP)
82 >        -$(INSTALL_DATA) $(APP).1 $(DESTDIR)$(man1dir)/$(APP).1
83 >        $(INSTALL_DATA) keycodes $(DESTDIR)$(datadir)/$(APP)/keycodes
84 >        $(INSTALL_DATA) tunconfig $(DESTDIR)$(datadir)/$(APP)/tunconfig
85  
86   installdirs:
87 <        $(SHELL) mkinstalldirs $(bindir) $(man1dir)
87 >        $(SHELL) mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(datadir)/$(APP)
88  
89   uninstall:
90 <        rm -f $(bindir)/$(APP)
91 <        rm -f $(man1dir)/$(APP).1
90 >        rm -f $(DESTDIR)$(bindir)/$(APP)
91 >        rm -f $(DESTDIR)$(man1dir)/$(APP).1
92 >        rm -f $(DESTDIR)$(datadir)/$(APP)/keycodes
93 >        rm -f $(DESTDIR)$(datadir)/$(APP)/tunconfig
94 >        rmdir $(DESTDIR)$(datadir)/$(APP)
95  
96   clean:
97          rm -f $(APP) $(OBJ_DIR)/* core* *.core *~ *.bak ppc-execute-impl.cpp

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines