Edit

kc3-lang/automake/libraries.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

  • libraries.am
  • install-@DIR@LIBRARIES: $(@DIR@_LIBFILES)
    	$(topsrcdir)/mkinstalldirs $(@DIR@dir)
    	for p in $(@DIR@_LIBFILES); do		\
    	  if test -f $$p; then			\
    	    $(INSTALL_DATA) $$p $(@DIR@dir)/$$p; \
    ## Must ranlib after installing because mod time changes. \
    	    $(RANLIB) $(@DIR@dir)/$$p;		\
    	  else :; fi;				\
    	done
    
    uninstall-@DIR@LIBRARIES:
    	for p in $(@DIR@_LIBFILES); do		\
    	  rm -f $(@DIR@dir)/$$p;		\
    	done