mirror of
				https://github.com/zsh-users/zsh-autosuggestions.git
				synced 2025-10-23 15:16:27 +08:00 
			
		
		
		
	Fix Makefile to not create symbolic link after PR #156 was merged
This commit is contained in:
		
							parent
							
								
									7c688ec20c
								
							
						
					
					
						commit
						4a2d9f9049
					
				
							
								
								
									
										12
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								Makefile
									
									
									
									
									
								
							| @ -18,11 +18,6 @@ HEADER_FILES := \ | |||||||
| 	LICENSE | 	LICENSE | ||||||
| 
 | 
 | ||||||
| PLUGIN_TARGET := zsh-autosuggestions.zsh | PLUGIN_TARGET := zsh-autosuggestions.zsh | ||||||
| OH_MY_ZSH_LINK_TARGET := zsh-autosuggestions.plugin.zsh |  | ||||||
| 
 |  | ||||||
| ALL_TARGETS := \
 |  | ||||||
| 	$(PLUGIN_TARGET) \
 |  | ||||||
| 	$(OH_MY_ZSH_LINK_TARGET) |  | ||||||
| 
 | 
 | ||||||
| SHUNIT2 := $(VENDOR_DIR)/shunit2/2.1.6 | SHUNIT2 := $(VENDOR_DIR)/shunit2/2.1.6 | ||||||
| STUB_SH := $(VENDOR_DIR)/stub.sh/stub.sh | STUB_SH := $(VENDOR_DIR)/stub.sh/stub.sh | ||||||
| @ -31,15 +26,12 @@ TEST_PREREQS := \ | |||||||
| 	$(SHUNIT2) \
 | 	$(SHUNIT2) \
 | ||||||
| 	$(STUB_SH) | 	$(STUB_SH) | ||||||
| 
 | 
 | ||||||
| all: $(ALL_TARGETS) | all: $(PLUGIN_TARGET) | ||||||
| 
 | 
 | ||||||
| $(PLUGIN_TARGET): $(HEADER_FILES) $(SRC_FILES) | $(PLUGIN_TARGET): $(HEADER_FILES) $(SRC_FILES) | ||||||
| 	cat $(HEADER_FILES) | sed -e 's/^/# /g' > $@ | 	cat $(HEADER_FILES) | sed -e 's/^/# /g' > $@ | ||||||
| 	cat $(SRC_FILES) >> $@ | 	cat $(SRC_FILES) >> $@ | ||||||
| 
 | 
 | ||||||
| $(OH_MY_ZSH_LINK_TARGET): $(PLUGIN_TARGET) |  | ||||||
| 	ln -s $(PLUGIN_TARGET) $@ |  | ||||||
| 
 |  | ||||||
| $(SHUNIT2): | $(SHUNIT2): | ||||||
| 	git submodule update --init vendor/shunit2 | 	git submodule update --init vendor/shunit2 | ||||||
| 
 | 
 | ||||||
| @ -48,7 +40,7 @@ $(STUB_SH): | |||||||
| 
 | 
 | ||||||
| .PHONY: clean | .PHONY: clean | ||||||
| clean: | clean: | ||||||
| 	rm $(ALL_TARGETS) | 	rm $(PLUGIN_TARGET) | ||||||
| 
 | 
 | ||||||
| .PHONY: test | .PHONY: test | ||||||
| test: all $(TEST_PREREQS) | test: all $(TEST_PREREQS) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Eric Freese
						Eric Freese