mirror of
				https://codeberg.org/claui/mobile-config-firefox.git
				synced 2025-11-04 04:25:55 +00:00 
			
		
		
		
	Makefile: add variable for config directory (MR 16)
For some distros (including Debian), the Firefox config directory can be different from `/etc/firefox`. Adding a variable for this location so it can be easily customized at build time.
This commit is contained in:
		
							parent
							
								
									520fb81e16
								
							
						
					
					
						commit
						bfa8376351
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		
							
								
								
									
										3
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -8,6 +8,7 @@ HOMEPAGE_FILES := head.html distro_links.html bottom.html
 | 
			
		|||
DISTRO := postmarketOS
 | 
			
		||||
DESTDIR :=
 | 
			
		||||
FIREFOX_DIR := /usr/lib/firefox
 | 
			
		||||
FIREFOX_CONFIG_DIR := /etc/firefox
 | 
			
		||||
 | 
			
		||||
all: out/home.html out/userChrome.css out/userContent.css
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -29,7 +30,7 @@ out/userContent.css: $(USERCONTENT_FILES) out
 | 
			
		|||
 | 
			
		||||
install: all
 | 
			
		||||
	install -Dm644 src/policies.json \
 | 
			
		||||
		"$(DESTDIR)/etc/firefox/policies/policies.json"
 | 
			
		||||
		"$(DESTDIR)/$(FIREFOX_CONFIG_DIR)/policies/policies.json"
 | 
			
		||||
	install -Dm644 src/mobile-config-prefs.js \
 | 
			
		||||
		"$(DESTDIR)/$(FIREFOX_DIR)/defaults/pref/mobile-config-prefs.js"
 | 
			
		||||
	install -Dm644 src/mobile-config-autoconfig.js \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue