-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
188 lines (174 loc) · 4.13 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
UPDATE=apt-get update -y
UPGRADE=apt-get upgrade -y
INSTALL=apt-get install -y
CP=cp -rf
MV=mv -rf
RM=rm -rf
CHOWN=chown -R $$SUDO_USER
.PHONY: help all update upgrade core compression programming avr gui libs own
help:
@echo "make all"
@echo "make help"
@echo "make update"
@echo "make upgrade"
@echo "make core"
@echo "make programming"
@echo "make compression"
@echo "make avr"
@echo "make gui"
own:
$(CP) wallpaper ~/wallpaper
$(CHOWN) ~/wallpaper
$(CP) xkcd ~/xkcd
$(CHOWN) ~/xkcd
$(CP) programming ~/programming
$(CHOWN) ~/programming
security:
mkdir -p ~/.ssh
$(CHOWN) ~/.ssh
openssl genrsa -aes256 -out private.pem 32768
$(CHOWN) private.pem
chmod o-rwx private.pem
chmod g-rwx private.pem
openssl rsa -in private.pem -pubout -out public.pem
$(CHOWN) public.pem
ssh-keygen -f private.pem -y > id_rsa
$(CHOWN) id_rsa
ssh-keygen -f public.pem -i -m PKCS8 > id_rsa.pub
$(CHOWN) id_rsa.pub
all:
make update
make core
make compression
make programming
make libs
make avr
make gui
make upgrade
update:
$(UPDATE)
upgrade:
$(UPGRADE)
core: compression
$(CP) .bashrc ~/.bashrc
$(CHOWN) ~/.bashrc
$(CP) .ssh ~/.ssh
$(CHOWN) ~/.ssh
$(INSTALL) recode
$(INSTALL) tree
# $(INSTALL) parted
# $(INSTALL) pwgen
$(INSTALL) alien
$(INSTALL) dpkg
$(INSTALL) kdesudo
$(INSTALL) kate
$(CP) .katerc ~/.kde/share/config/katerc
$(INSTALL) kcalc
$(INSTALL) firefox
$(CP) .firefox/prefs.js ~/.mozilla/firefox/*/prefs.js
$(INSTALL) xul-ext-adblock-plus
$(INSTALL) xul-ext-firebug
$(INSTALL) gdebi
$(INSTALL) gparted
$(INSTALL) okular
# $(INSTALL) evince
# $(INSTALL) sudo
# visudo
# $(INSTALL) joe
# $(INSTALL) ufw
# ufw allow 22/tcp
# ufw allow 80/tcp
# ufw allow 3306/tcp
# ufw allow 51337/tcp
# ufw enable
$(INSTALL) vim
$(CP) .vim ~/.vim
$(CHOWN) ~/.vim
$(CP) .vimrc ~/.vimrc
$(CHOWN) ~/.vimrc
$(INSTALL) yakuake
$(CP) .plasma-desktop-appletsrc ~/.kde/share/config/plasma-desktop-appletsrc
compression:
$(INSTALL) p7zip-full
$(INSTALL) tar
$(INSTALL) gzip
$(INSTALL) bzip2
$(INSTALL) rar
$(INSTALL) unrar
$(INSTALL) unp
$(INSTALL) ark
programming:
$(INSTALL) gcc
$(INSTALL) g++
$(INSTALL) make
$(INSTALL) gdb
$(INSTALL) ddd
$(INSTALL) doxygen
$(INSTALL) valgrind
$(INSTALL) strace
$(INSTALL) manpages manpages-dev manpages-posix manpages-posix-dev
$(INSTALL) kcachegrind
# $(INSTALL) openjdk-6-jdk
# $(INSTALL) eclipse
# $(INSTALL) codeblocks
# $(INSTALL) netbeans
$(INSTALL) okteta
$(INSTALL) kompare
$(INSTALL) git-core git-gui git-doc
git config --global user.name "Daniel Tkocz"
git config --global user.email [email protected]
git config --global core.editor vim
git config --global merge.tool vimdiff
git config --global alias.ci commit
git config --global alias.st status
git config --global alias.co checkout
# ssh-keygen -t rsa -b 4096 -C "[email protected]"
$(INSTALL) gitk
# $(INSTALL) bvi
$(INSTALL) kile
# $(INSTALL) qemu
# $(INSTALL) uck
$(INSTALL) openssh-server
$(INSTALL) openssh-client
$(INSTALL) sshfs
# $(INSTALL) zsh
$(INSTALL) umbrello
$(INSTALL) trac trac-git
avr:
$(INSTALL) avra
$(INSTALL) avr-libc
$(INSTALL) gcc-avr
$(INSTALL) avrdude
$(INSTALL) binutils-avr
# $(INSTALL) simulavr
# $(INSTALL) gdb-avr
gui:
$(INSTALL) libreoffice
$(INSTALL) ksnapshot
$(INSTALL) inkscape
$(INSTALL) gimp
$(INSTALL) thunderbird
$(INSTALL) amarok
$(INSTALL) audacity
$(INSTALL) libxine1-bin libxvidcore4 libxine1-plugins libquicktime1 flashplugin-installer
$(INSTALL) filezilla
$(INSTALL) ktorrent
# $(INSTALL) k9copy
$(INSTALL) vlc vlc-data vlc-plugin-pulse vlc-plugin-ggi vlc-plugin-jack vlc-plugin-sdl vlc-plugin-svgalib mozilla-plugin-vlc libxvidcore4 libfaad2 libfaac0
# $(INSTALL) k3b
# $(INSTALL) kget
# $(INSTALL) kontact
# $(INSTALL) ktimer
# $(INSTALL) kalarm
# $(INSTALL) quassel
# $(INSTALL) pidgin
# $(INSTALL) gobby
# $(INSTALL) qalculate
# $(INSTALL) kalgebra
# $(INSTALL) gnuplot
# $(INSTALL) kmplot
# $(INSTALL) cantor
libs:
# $(INSTALL) libcrypto++-dev
# $(INSTALL) qt4-qmake libqt4-assistant libqt4-core libqt4-dbg libqt4-dev libqt4-gui libqt4-network libqt4-opengl libqt4-opengl-dev libqt4-sql libqt4-sql-mysql qt4-doc qtcreator
# $(INSTALL) libgtk-3-dev devhelp libgtk-3-doc glade