Arrange package target in sections
authorSiraaj Khandkar <siraaj@khandkar.net>
Wed, 1 Apr 2020 14:01:24 +0000 (10:01 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Wed, 1 Apr 2020 14:01:24 +0000 (10:01 -0400)
Makefile

index b67b8ce..6f97234 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -44,19 +44,32 @@ mpdconf:
        @mkdir -p ~/var/run/mpd
        @cp home/.mpdconf $(HOME)/
 
+#
+# Golang
+#
 pkgs_golang: list pkgs-golang.list
        go get $(shell ./list pkgs-golang.list)
 
+#
+# Ubuntu
+#
 pkgs_ubuntu: list pkgs-ubuntu.list
        sudo apt install $(shell ./list pkgs-ubuntu.list)
 
+#
+# PIP
+#
+pkgs_pip:
+       sudo pip3 install $(shell ./list pkgs-pip.list)
+
+#
+# Homebrew/Mac
+#
+
 pkgs_mac:
        $(MAKE) pkgs_brew_install
        $(MAKE) pkgs_brew_cask_install
 
-pkgs_pip:
-       sudo pip3 install $(shell ./list pkgs-pip.list)
-
 # TODO: Test pkgs_brew_tap when list contains multiple items
 pkgs_brew_tap: list pkgs-brew-tap.list
        brew tap $(shell ./list pkgs-brew-tap.list)
@@ -67,12 +80,18 @@ pkgs_brew_install: list pkgs-brew-install.list
 pkgs_brew_cask_install: list pkgs-brew-cask-install.list
        brew cask install $(shell ./list pkgs-brew-cask-install.list)
 
+#
+# Debian
+#
 pkgs_deb_install: list pkgs-deb-install.list
        sudo apt install $(shell ./list pkgs-deb-install.list)
 
 pkgs_deb_purge: list pkgs-deb-purge.list
        sudo apt purge $(shell ./list pkgs-deb-purge.list)
 
+#
+# Snap
+#
 pkgs_snap_classic: list pkgs-snap-classic.list
        @$(MAKE) $(foreach p,$(shell ./list pkgs-snap-classic.list),pkg_snap_classic_$(p))
 
This page took 0.030775 seconds and 4 git commands to generate.