srivasta0

Untitled

Apr 27th, 2013
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. ## Process this file with automake to produce Makefile.in
  2. ## You probably want to run automake from the top-level directory, though
  3. ## Makefile.am for icon subdirectory of the wm-icons package
  4. ## Copyright 1999, Julian Gilbey <[email protected]>
  5. ## This file may be copied under the conditions of the GNU General
  6. ## Public License, version 2 or later. NO warranty of any kind is
  7. ## given.
  8.  
  9. AUTOMAKE_OPTIONS = foreign
  10.  
  11. EXTRA_DIST = \
  12. 01x01-template \
  13. $(ALL_ICON_SETS) \
  14. names.lst
  15.  
  16. SYMLINKS_LST = _symlinks.lst
  17.  
  18. install-data-local:
  19. $(mkinstalldirs) $(icondir)
  20. chmod -R o-w,go+rX *
  21. cd $(top_srcdir)/icons; \
  22. for iconset in $(SELECTED_ICON_SETS); do \
  23. rm -rf $(icondir)/$$iconset; \
  24. tar cpf - "$$iconset" \
  25. | (cd "$(icondir)" && tar xfBp -); \
  26. find "$(icondir)/$$iconset" -name CVS \
  27. -exec rm -r {} \; 2>/dev/null; \
  28. (cd "$(icondir)/$$iconset" && [ -f $(SYMLINKS_LST) ] \
  29. && $(AWK) '{ system("ln -sf " $$1 " " $$2) }' \
  30. < $(SYMLINKS_LST) \
  31. && rm $(SYMLINKS_LST) || true \
  32. ); \
  33. done
  34.  
  35. uninstall-local:
  36. for iconset in $(SELECTED_ICON_SETS); do \
  37. rm -rf $(icondir)/$$iconset; \
  38. done
  39. for i in $(icondir)/*; do \
  40. if [ -L "$$i" ] && [ ! -e "$$i" ]; then rm -f "$$i"; fi; \
  41. done
  42. -rmdir $(icondir)
Advertisement
Add Comment
Please, Sign In to add comment