mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-11-03 20:38:59 +00:00 
			
		
		
		
	use $(FIND) and $(LN) from configure
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		
							
								
								
									
										22
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								Makefile
									
									
									
									
									
								
							@@ -559,7 +559,7 @@ bininstall: all
 | 
			
		||||
	mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/monitor
 | 
			
		||||
	if [ -f asterisk ]; then $(INSTALL) -m 755 asterisk $(DESTDIR)$(ASTSBINDIR)/; fi
 | 
			
		||||
	if [ -f asterisk.dll ]; then $(INSTALL) -m 755 asterisk.dll $(DESTDIR)$(ASTSBINDIR)/; fi
 | 
			
		||||
	ln -sf asterisk $(DESTDIR)$(ASTSBINDIR)/rasterisk
 | 
			
		||||
	$(LN) -sf asterisk $(DESTDIR)$(ASTSBINDIR)/rasterisk
 | 
			
		||||
	$(INSTALL) -m 755 contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/
 | 
			
		||||
	$(INSTALL) -m 755 contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/
 | 
			
		||||
	if [ ! -f $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ]; then \
 | 
			
		||||
@@ -781,20 +781,20 @@ depend: include/asterisk/version.h include/asterisk/buildopts.h .depend defaults
 | 
			
		||||
 | 
			
		||||
.tags-depend:
 | 
			
		||||
	@echo -n ".tags-depend: " > $@
 | 
			
		||||
	@find . -maxdepth 1 -name \*.c -printf "\t%p \\\\\n" >> $@
 | 
			
		||||
	@find . -maxdepth 1 -name \*.h -printf "\t%p \\\\\n" >> $@
 | 
			
		||||
	@find $(SUBDIRS) -name \*.c -printf "\t%p \\\\\n" >> $@
 | 
			
		||||
	@find $(SUBDIRS) -name \*.h -printf "\t%p \\\\\n" >> $@
 | 
			
		||||
	@find include -name \*.h -printf "\t%p \\\\\n" >> $@
 | 
			
		||||
	@$(FIND) . -maxdepth 1 -name \*.c -printf "\t%p \\\\\n" >> $@
 | 
			
		||||
	@$(FIND) . -maxdepth 1 -name \*.h -printf "\t%p \\\\\n" >> $@
 | 
			
		||||
	@$(FIND) $(SUBDIRS) -name \*.c -printf "\t%p \\\\\n" >> $@
 | 
			
		||||
	@$(FIND) $(SUBDIRS) -name \*.h -printf "\t%p \\\\\n" >> $@
 | 
			
		||||
	@$(FIND) include -name \*.h -printf "\t%p \\\\\n" >> $@
 | 
			
		||||
	@echo >> $@
 | 
			
		||||
 | 
			
		||||
.tags-sources:
 | 
			
		||||
	@rm -f $@
 | 
			
		||||
	@find . -maxdepth 1 -name \*.c -print >> $@
 | 
			
		||||
	@find . -maxdepth 1 -name \*.h -print >> $@
 | 
			
		||||
	@find $(SUBDIRS) -name \*.c -print >> $@
 | 
			
		||||
	@find $(SUBDIRS) -name \*.h -print >> $@
 | 
			
		||||
	@find include -name \*.h -print >> $@
 | 
			
		||||
	@$(FIND) . -maxdepth 1 -name \*.c -print >> $@
 | 
			
		||||
	@$(FIND) . -maxdepth 1 -name \*.h -print >> $@
 | 
			
		||||
	@$(FIND) $(SUBDIRS) -name \*.c -print >> $@
 | 
			
		||||
	@$(FIND) $(SUBDIRS) -name \*.h -print >> $@
 | 
			
		||||
	@$(FIND) include -name \*.h -print >> $@
 | 
			
		||||
 | 
			
		||||
tags: .tags-depend .tags-sources
 | 
			
		||||
	ctags -L .tags-sources -o $@
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user