mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-10-29 05:40:23 -04:00 
			
		
		
		
	build-sys: simulate ln -s correctly on Windows
make install was failing on Windows because there cp is used to replace ln -s commands but cp doesn't resolve its first argument as relative to the second one. This patch changes the install-bashcompletion-aliases rules to chdir to the target dir so that cp works correctly. This is the solution recomended in the automake documentation.
This commit is contained in:
		
							parent
							
								
									8c22cd54de
								
							
						
					
					
						commit
						07e283d744
					
				
					 1 changed files with 8 additions and 8 deletions
				
			
		
							
								
								
									
										16
									
								
								Makefile.am
									
										
									
									
									
								
							
							
						
						
									
										16
									
								
								Makefile.am
									
										
									
									
									
								
							|  | @ -68,14 +68,14 @@ bashcompletiondir=@bashcompletiondir@ | |||
| dist_bashcompletion_DATA = shell-completion/bash/pulseaudio | ||||
| 
 | ||||
| install-bashcompletion-aliases: | ||||
| 	$(LN_S) -f pulseaudio $(DESTDIR)$(bashcompletiondir)/pactl | ||||
| 	$(LN_S) -f pulseaudio $(DESTDIR)$(bashcompletiondir)/pacmd | ||||
| 	$(LN_S) -f pulseaudio $(DESTDIR)$(bashcompletiondir)/pasuspender | ||||
| 	$(LN_S) -f pulseaudio $(DESTDIR)$(bashcompletiondir)/padsp | ||||
| 	$(LN_S) -f pulseaudio $(DESTDIR)$(bashcompletiondir)/pacat | ||||
| 	$(LN_S) -f pulseaudio $(DESTDIR)$(bashcompletiondir)/paplay | ||||
| 	$(LN_S) -f pulseaudio $(DESTDIR)$(bashcompletiondir)/parec | ||||
| 	$(LN_S) -f pulseaudio $(DESTDIR)$(bashcompletiondir)/parecord | ||||
| 	cd $(DESTDIR)$(bashcompletiondir) && $(LN_S) -f pulseaudio pactl | ||||
| 	cd $(DESTDIR)$(bashcompletiondir) && $(LN_S) -f pulseaudio pacmd | ||||
| 	cd $(DESTDIR)$(bashcompletiondir) && $(LN_S) -f pulseaudio pasuspender | ||||
| 	cd $(DESTDIR)$(bashcompletiondir) && $(LN_S) -f pulseaudio padsp | ||||
| 	cd $(DESTDIR)$(bashcompletiondir) && $(LN_S) -f pulseaudio pacat | ||||
| 	cd $(DESTDIR)$(bashcompletiondir) && $(LN_S) -f pulseaudio paplay | ||||
| 	cd $(DESTDIR)$(bashcompletiondir) && $(LN_S) -f pulseaudio parec | ||||
| 	cd $(DESTDIR)$(bashcompletiondir) && $(LN_S) -f pulseaudio parecord | ||||
| 
 | ||||
| install-data-hook: install-bashcompletion-aliases | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Salvador Fandino
						Salvador Fandino