diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -47,6 +47,14 @@ endif | |||
47 | 47 | ||
48 | install: $(DESTINATIONS) | 48 | install: $(DESTINATIONS) |
49 | 49 | ||
50 | install-packages: | ||
51 | ifeq ($(shell id -u),0) | ||
52 | install -m0644 eschew-unstable.pref /etc/apt/preferences.d/ | ||
53 | bash install-packages.bash | ||
54 | else | ||
55 | sudo -- $(MAKE) -$(MAKEFLAGS) $@ | ||
56 | endif | ||
57 | |||
50 | simulate-install: | 58 | simulate-install: |
51 | @echo | 59 | @echo |
52 | @echo \#\# SIMULATED INSTALL \#\# | 60 | @echo \#\# SIMULATED INSTALL \#\# |