]> git.pld-linux.org Git - packages/cproto.git/blob - cproto-DESTDIR.patch
- tabs in preamble
[packages/cproto.git] / cproto-DESTDIR.patch
1 diff -Nru cproto-4.6/Makefile.in cproto-4.6.new/Makefile.in
2 --- cproto-4.6/Makefile.in      Sat Nov 25 03:17:39 2000
3 +++ cproto-4.6.new/Makefile.in  Sat Nov 25 03:18:40 2000
4 @@ -29,8 +29,8 @@
5  prefix         = @prefix@
6  exec_prefix    = @exec_prefix@
7  
8 -bindir         = $(exec_prefix)/bin
9 -mandir         = $(prefix)/man/man1
10 +bindir         = @bindir@
11 +mandir         = @mandir@/man1
12  manext         = 1
13  
14  #### End of system configuration section. ####
15 @@ -83,15 +83,15 @@
16  all : $(THIS) # $(THIS).man
17  
18  install: all installdirs
19 -       $(INSTALL_PROGRAM) $(THIS) $(bindir)/$(THIS)
20 -       - $(INSTALL_DATA) $(srcdir)/$(THIS).1 $(mandir)/$(THIS).$(manext)
21 +       $(INSTALL_PROGRAM) $(THIS) $(DESTDIR)$(bindir)/$(THIS)
22 +       - $(INSTALL_DATA) $(srcdir)/$(THIS).1 $(DESTDIR)$(mandir)/$(THIS).$(manext)
23  
24  installdirs:
25 -       $(SHELL) ${srcdir}/mkdirs.sh $(bindir)
26 -       - $(SHELL) ${srcdir}/mkdirs.sh $(mandir)
27 +       $(SHELL) ${srcdir}/mkdirs.sh $(DESTDIR)$(bindir)
28 +       - $(SHELL) ${srcdir}/mkdirs.sh $(DESTDIR)$(mandir)
29  
30  uninstall:
31 -       - rm -f $(bindir)/$(THIS) $(mandir)/$(THIS).$(manext)
32 +       - rm -f $(bindir)/$(THIS) $(DESTDIR)$(mandir)/$(THIS).$(manext)
33  
34  $(THIS) : $(OBJECTS)
35         $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJECTS) $(LIBS)
This page took 0.035066 seconds and 3 git commands to generate.