about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* changing order of c->border restorageAnselm R. Garbe2007-04-131-3/+3
|
* I used 2006 in other places as wellAnselm R. Garbe2007-04-131-1/+1
|
* yet another fix of copyright compactisitionAnselm R. Garbe2007-04-1311-16/+24
|
* making Copyright notices more compactAnselm R. Garbe2007-04-138-28/+22
|
* next version will be 4.0, so don't expect it within the next daysAnselm R. Garbe2007-04-111-1/+1
|
* make also transients floating when we do not know the main windowAnselm R. Garbe2007-04-111-4/+5
|
* Added tag 3.9 for changeset 55478328b242Anselm R. Garbe2007-04-021-0/+1
|
* next version will be 3.9, but don't expect it this week 3.9Anselm R. Garbe2007-03-291-1/+1
|
* add an additional check in resize() to prevent a crash of dwmAnselm R. Garbe2007-03-291-1/+3
|
* Added tag 3.8 for changeset 2ea201354cf0Anselm R. Garbe2007-03-051-0/+1
|
* we don't need to set the font all the time 3.8Anselm R. Garbe2007-03-022-9/+5
|
* some changes to updatesizehints, I don't change the aspect ratio algorithm ↵Anselm R. Garbe2007-03-012-17/+24
| | | | now - I can't think, it is a mess
* removed sendeventAnselm R. Garbe2007-02-263-17/+11
|
* Escape -s in dwm.1Anselm R. Garbe2007-02-262-26/+26
|
* Added tag 3.7 for changeset baee494346e5Anselm R. Garbe2007-02-241-0/+1
|
* prepared 3.7, ready to rambo 3.7Anselm R. Garbe2007-02-242-2/+2
|
* removed an unnecessary newlineAnselm R. Garbe2007-02-241-1/+0
|
* removed superfluous externs (except for tags, because tags is defined in the ↵Anselm R. Garbe2007-02-241-53/+53
| | | | source)
* replacing Mod1-i with Mod1-Shift-j, Mod1-d with Mod1-Shift-kAnselm R. Garbe2007-02-233-10/+10
|
* oops, small bugfix in my configAnselm R. Garbe2007-02-231-1/+1
|
* default masterwidth should also be at 600Anselm R. Garbe2007-02-231-1/+1
|
* changed order if h/lAnselm R. Garbe2007-02-231-1/+1
|
* well I agree to several people claiming h/j/k/l is the better default than ↵Anselm R. Garbe2007-02-233-13/+13
| | | | Tab/S-Tab/g/s for focus and master resizing
* renamed untiled into floating, keeping tiled instead of tiling (afaik tiled ↵Anselm R. Garbe2007-02-229-63/+63
| | | | sounds more correct) - English speakers convinced me
* hahaha, untiled and non-untiled sounded really cumbersomeAnselm R. Garbe2007-02-221-1/+1
|
* made Fnt an anonymous inner structAnselm R. Garbe2007-02-221-15/+15
|
* made Fnt an anonymous inner structAnselm R. Garbe2007-02-221-9/+7
|
* nah, I don't want 640 as MASTERWIDTHAnselm R. Garbe2007-02-222-3/+3
|
* using MASTERWIDTH=640 and 32px steps by default (incmasterw())Anselm R. Garbe2007-02-222-6/+6
|
* simplified focusclient()Anselm R. Garbe2007-02-221-10/+6
|
* renamed versatile into untiledAnselm R. Garbe2007-02-229-51/+51
|
* merged focus{prev.next} into focusclient(1/-1)Anselm R. Garbe2007-02-224-26/+21
|
* made dwm.h more tidy (thx Jukka for the zoom() hint)Anselm R. Garbe2007-02-221-12/+11
|
* oopsAnselm R. Garbe2007-02-221-2/+2
|
* small bugfixAnselm R. Garbe2007-02-222-9/+15
|
* fixed some issues due to the Arg->const char * transitionAnselm R. Garbe2007-02-222-9/+10
|
* restoring default keybindings as Sander complainedAnselm R. Garbe2007-02-222-8/+8
|
* replaced Arg union with const char *arg, seems cleaner to me, even if we ↵Anselm R. Garbe2007-02-229-185/+190
| | | | need atoi() in some places
* re-added xterm to config.default.hAnselm R. Garbe2007-02-221-0/+1
|
* removed button4/5-bindings for incnmaster on mode label - that is misleadingAnselm R. Garbe2007-02-222-14/+0
|
* fixed order of key bindings described in dwm.1Anselm R. Garbe2007-02-221-5/+5
|
* status needs update even in togglemax() - since we got an indicator for thisAnselm R. Garbe2007-02-221-0/+1
|
* reusing drawsquare for client title, empty square before title means ↵Anselm R. Garbe2007-02-222-24/+6
| | | | versatile window, filled square before title means versatile maximized window.
* dwm draws a small caret before the client title if it's a versatile clientAnselm R. Garbe2007-02-222-6/+31
|
* nah grouped keybindings by contextAnselm R. Garbe2007-02-222-47/+46
|
* fixed exit condition in togglemax()Anselm R. Garbe2007-02-221-1/+1
|
* fixing missing extern declars in dwm.h for {de,at}tach()Anselm R. Garbe2007-02-221-0/+2
|
* several changes, made togglemax extern and separated it from zoom() - moved ↵Anselm R. Garbe2007-02-2210-183/+184
| | | | zoom() and togglemax() into layout.c, changed void (*func)(Arg *) into void (*func)(Arg), changed default keybindings of focusnext/focusprev and incmasterw to h/j/k/l accordingly, made keys in config*h appear alphabetically (special keys first), renamed resizemaster into incmasterw, renamed MASTER into MASTERWIDTH
* just ignore the FD_ISSET check in main.c of xfd, just call XPending (which ↵Anselm R. Garbe2007-02-211-6/+5
| | | | does the same afair)
* optimizing background color of terminalsAnselm R. Garbe2007-02-211-1/+1
|
11 14:11:15 -0500 committer Drew DeVault <sir@cmpwn.com> 2019-06-14 09:56:54 -0400 Add uninstall target to Makefile' href='/akspecs/aerc/commit/Makefile?h=0.4.0&id=d3b5a76b4a8ad839991cb686711a0c0d24536d5e'>d3b5a76 ^
6794ce0 ^
d3b5a76 ^






fc719e4 ^

d3b5a76 ^
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


                                        
 
             
 
         




                                
      

         
                          
                    

              
                                


                                                    
                     
 
                              
                                                                      
 

                
                       

                       
                        
                         
                        
                     

                         
 








                       

            
                       
 


                                                      
      
                                    
 
            
                                                                               
                                                                     

                                                  
                                                                

                                                                
                                                                  
                                                                    
                                                                  
                                                            
                                                                    
                                                                      
                                                                    
                                                     
                                                              


                                                                     

                                                                                     
 







                                                    
                                          

                                          
                                           
                                            
                                           

                                            
                                             






                                        

                    
                                       
.POSIX:
.SUFFIXES:
.SUFFIXES: .1 .5 .7 .1.scd .5.scd .7.scd

VERSION=0.3.0

VPATH=doc
PREFIX?=/usr/local
_INSTDIR=$(DESTDIR)$(PREFIX)
BINDIR?=$(_INSTDIR)/bin
SHAREDIR?=$(_INSTDIR)/share/aerc
MANDIR?=$(_INSTDIR)/share/man
GO?=go
GOFLAGS?=

GOSRC!=find . -name '*.go'
GOSRC+=go.mod go.sum

aerc: $(GOSRC)
	$(GO) build $(GOFLAGS) \
		-ldflags "-X main.Prefix=$(PREFIX) \
		-X main.ShareDir=$(SHAREDIR) \
		-X main.Version=$(VERSION)" \
		-o $@

aerc.conf: config/aerc.conf.in
	sed -e 's:@SHAREDIR@:$(SHAREDIR):g' > $@ < config/aerc.conf.in

DOCS := \
	aerc.1 \
	aerc-search.1 \
	aerc-config.5 \
	aerc-imap.5 \
	aerc-maildir.5 \
	aerc-sendmail.5 \
	aerc-notmuch.5 \
	aerc-smtp.5 \
	aerc-tutorial.7 \
	aerc-templates.7

.1.scd.1:
	scdoc < $< > $@

.5.scd.5:
	scdoc < $< > $@

.7.scd.7:
	scdoc < $< > $@

doc: $(DOCS)

all: aerc aerc.conf doc

# Exists in GNUMake but not in NetBSD make and others.
RM?=rm -f

clean:
	$(RM) $(DOCS) aerc.conf aerc

install: all
	mkdir -m755 -p $(BINDIR) $(MANDIR)/man1 $(MANDIR)/man5 $(MANDIR)/man7 \
		$(SHAREDIR) $(SHAREDIR)/filters $(SHAREDIR)/templates
	install -m755 aerc $(BINDIR)/aerc
	install -m644 aerc.1 $(MANDIR)/man1/aerc.1
	install -m644 aerc-search.1 $(MANDIR)/man1/aerc-search.1
	install -m644 aerc-config.5 $(MANDIR)/man5/aerc-config.5
	install -m644 aerc-imap.5 $(MANDIR)/man5/aerc-imap.5
	install -m644 aerc-maildir.5 $(MANDIR)/man5/aerc-maildir.5
	install -m644 aerc-sendmail.5 $(MANDIR)/man5/aerc-sendmail.5
	install -m644 aerc-notmuch.5 $(MANDIR)/man5/aerc-notmuch.5
	install -m644 aerc-smtp.5 $(MANDIR)/man5/aerc-smtp.5
	install -m644 aerc-tutorial.7 $(MANDIR)/man7/aerc-tutorial.7
	install -m644 aerc-templates.7 $(MANDIR)/man7/aerc-templates.7
	install -m644 config/accounts.conf $(SHAREDIR)/accounts.conf
	install -m644 aerc.conf $(SHAREDIR)/aerc.conf
	install -m644 config/binds.conf $(SHAREDIR)/binds.conf
	install -m755 filters/hldiff $(SHAREDIR)/filters/hldiff
	install -m755 filters/html $(SHAREDIR)/filters/html
	install -m755 filters/plaintext $(SHAREDIR)/filters/plaintext
	install -m644 templates/quoted_reply $(SHAREDIR)/templates/quoted_reply
	install -m644 templates/forward_as_body $(SHAREDIR)/templates/forward_as_body

RMDIR_IF_EMPTY:=sh -c '\
if test -d $$0 && ! ls -1qA $$0 | grep -q . ; then \
	rmdir $$0; \
fi'

uninstall:
	$(RM) $(BINDIR)/aerc
	$(RM) $(MANDIR)/man1/aerc.1
	$(RM) $(MANDIR)/man1/aerc-search.1
	$(RM) $(MANDIR)/man5/aerc-config.5
	$(RM) $(MANDIR)/man5/aerc-imap.5
	$(RM) $(MANDIR)/man5/aerc-maildir.5
	$(RM) $(MANDIR)/man5/aerc-sendmail.5
	$(RM) $(MANDIR)/man5/aerc-notmuch.5
	$(RM) $(MANDIR)/man5/aerc-smtp.5
	$(RM) $(MANDIR)/man7/aerc-tutorial.7
	$(RM) $(MANDIR)/man7/aerc-templates.7
	$(RM) -r $(SHAREDIR)
	${RMDIR_IF_EMPTY} $(BINDIR)
	$(RMDIR_IF_EMPTY) $(MANDIR)/man1
	$(RMDIR_IF_EMPTY) $(MANDIR)/man5
	$(RMDIR_IF_EMPTY) $(MANDIR)/man7
	$(RMDIR_IF_EMPTY) $(MANDIR)

.DEFAULT_GOAL := all

.PHONY: all doc clean install uninstall