]> git.pld-linux.org Git - packages/cproto.git/blob - cproto-DESTDIR.patch
fixes for DESTDIR style install.
[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 @@ -83,15 +83,15 @@
5  all : $(THIS) # $(THIS).man
6  
7  install: all installdirs
8 -       $(INSTALL_PROGRAM) $(THIS) $(bindir)/$(THIS)
9 -       - $(INSTALL_DATA) $(srcdir)/$(THIS).1 $(mandir)/$(THIS).$(manext)
10 +       $(INSTALL_PROGRAM) $(THIS) $(DESTDIR)$(bindir)/$(THIS)
11 +       - $(INSTALL_DATA) $(srcdir)/$(THIS).1 $(DESTDIR)$(mandir)/$(THIS).$(manext)
12  
13  installdirs:
14 -       $(SHELL) ${srcdir}/mkdirs.sh $(bindir)
15 -       - $(SHELL) ${srcdir}/mkdirs.sh $(mandir)
16 +       $(SHELL) ${srcdir}/mkdirs.sh $(DESTDIR)$(bindir)
17 +       - $(SHELL) ${srcdir}/mkdirs.sh $(DESTDIR)$(mandir)
18  
19  uninstall:
20 -       - rm -f $(bindir)/$(THIS) $(mandir)/$(THIS).$(manext)
21 +       - rm -f $(bindir)/$(THIS) $(DESTDIR)$(mandir)/$(THIS).$(manext)
22  
23  $(THIS) : $(OBJECTS)
24         $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJECTS) $(LIBS)
This page took 0.036214 seconds and 4 git commands to generate.