mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.9 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/iproute2/fix_make_install.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- ./Makefile.orig 2004-02-18 23:26:26.000000000 -0300
  20. +++ ./Makefile 2004-02-18 23:47:35.000000000 -0300
  21. @@ -65,14 +65,12 @@
  22. install -m 0755 -d $(DESTDIR)$(DOCDIR)/examples
  23. install -m 0755 -d $(DESTDIR)$(DOCDIR)/examples/diffserv
  24. install -m 0644 README.iproute2+tc $(shell find examples -type f -maxdepth 1) $(DESTDIR)$(DOCDIR)/examples
  25. - @for i in $(ls -1 examples/diffserv/ | grep -v CVS); do \
  26. - install -m 0644 $i $(DESTDIR)$(DOCDIR)/examples/diffserv ;\
  27. - done
  28. + install -m 0644 $(shell find examples/diffserv/ -type f -maxdepth 1 | grep -v CVS) $(DESTDIR)$(DOCDIR)/examples/diffserv
  29. @for i in $(SUBDIRS) doc; do $(MAKE) -C $$i install; done
  30. - @cd etc/iproute2; for i in $(ls -1 | grep -v CVS); do \
  31. + @for i in $(shell ls -1 etc/iproute2 | grep -v CVS); do \
  32. if [ ! -e $(DESTDIR)$(CONFDIR)/$$i ]; then \
  33. - echo install -m 0644 $$i $(DESTDIR)$(CONFDIR); \
  34. - install -m 0644 $$i $(DESTDIR)$(CONFDIR); fi; done
  35. + echo install -m 0644 etc/iproute2/$$i $(DESTDIR)$(CONFDIR); \
  36. + install -m 0644 etc/iproute2/$$i $(DESTDIR)$(CONFDIR); fi; done
  37. clean:
  38. rm -f $(shell find . -name '*~')