Skip to content

Commit c61ffe6

Browse files
authored
Merge pull request #33 from thegushi/fix/install-prefix-permissions
make install: create and configure prefix directory
2 parents f1a0a44 + 8e19562 commit c61ffe6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Makefile.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ DESTDIR=
3333
CC= @CC@
3434
INSTALL= @INSTALL@
3535
PYTHON= @PYTHON@
36+
MAILMAN_GROUP= @MAILMAN_GROUP@
3637

3738
DEFS= @DEFS@
3839

@@ -90,6 +91,10 @@ subdirs: build/bin build/cron $(SUBDIRS)
9091
install: doinstall update
9192

9293
doinstall: $(SUBDIRS)
94+
@echo "Creating and configuring prefix directory $(DESTDIR)$(prefix)..."
95+
@$(srcdir)/mkinstalldirs $(DESTDIR)$(prefix)
96+
@chgrp $(MAILMAN_GROUP) $(DESTDIR)$(prefix)
97+
@chmod 02775 $(DESTDIR)$(prefix)
9398
@echo "Creating architecture independent directories..."
9499
@for d in $(VAR_DIRS); \
95100
do \

0 commit comments

Comments
 (0)