Edit

kc3-lang/automake/scripts.am

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1995-12-12 18:35:39
    Hash : 1deee027
    Message : Install optional objects only if they exist

  • scripts.am
  • install-@DIR@SCRIPTS: $(@DIR@_SCRIPTS)
    	$(top_srcdir)/mkinstalldirs $(@DIR@dir)
    	for p in $(@DIR@_SCRIPTS); do		\
    	  if test -f $$p; then			\
    	    $(INSTALL_SCRIPT) $$p $(@DIR@dir)/`echo $$p|sed '$(transform)'`; \
    	  else :; fi;				\
    	done
    
    uninstall-@DIR@SCRIPTS:
    	for p in $(@DIR@_SCRIPTS); do		\
    	  rm -f $(@DIR@dir)/`echo $$p|sed '$(transform)'`; \
    	done