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.12 by gbeauche, 2004-05-12T11:39:00Z

# 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 >        chmod 755 $(DESTDIR)$(datadir)/$(APP)/tunconfig
86  
87   installdirs:
88 <        $(SHELL) mkinstalldirs $(bindir) $(man1dir)
88 >        $(SHELL) mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(datadir)/$(APP)
89  
90   uninstall:
91 <        rm -f $(bindir)/$(APP)
92 <        rm -f $(man1dir)/$(APP).1
91 >        rm -f $(DESTDIR)$(bindir)/$(APP)
92 >        rm -f $(DESTDIR)$(man1dir)/$(APP).1
93 >        rm -f $(DESTDIR)$(datadir)/$(APP)/keycodes
94 >        rm -f $(DESTDIR)$(datadir)/$(APP)/tunconfig
95 >        rmdir $(DESTDIR)$(datadir)/$(APP)
96  
97   clean:
98          rm -f $(APP) $(OBJ_DIR)/* core* *.core *~ *.bak ppc-execute-impl.cpp

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines