Changeset 72
- Timestamp:
- 05/31/07 13:25:17
(2 years ago)
- Author:
- zcutlip
- Message:
-Added $(DESTDIR) as well as some variables for install vs hardcoded paths.
-create install directories if they don't exist seperately from installing files
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r64 |
r72 |
|
| 7 | 7 | SO_LDFLAGS=--shared -lpam |
|---|
| 8 | 8 | LDFLAGS=-lpam -ldl -laudit -Wl,--as-needed -Wl,-O1 |
|---|
| 9 | | |
|---|
| 10 | 9 | PAM_MODULE=pam_tally3.so |
|---|
| 11 | 10 | APP=pam_tally3 |
|---|
| | 11 | |
|---|
| | 12 | LIB_SECURITY=/lib/security |
|---|
| | 13 | SBIN=/sbin |
|---|
| | 14 | DOC=/usr/share/doc/pam_tally3 |
|---|
| 12 | 15 | |
|---|
| 13 | 16 | all: $(PAM_MODULE) $(APP) |
|---|
| … | … | |
| 26 | 29 | |
|---|
| 27 | 30 | install: |
|---|
| 28 | | install -s -o0 -g0 -m755 $(PAM_MODULE) /lib/security |
|---|
| 29 | | install -s -o0 -g0 -m755 $(APP) /sbin |
|---|
| 30 | | install -o0 -g0 -m644 README -D /usr/share/doc/pam_tally3/README |
|---|
| 31 | | install -o0 -g0 -m644 pseudo.txt -D /usr/share/doc/pam_tally3/pseudo.txt |
|---|
| | 31 | test -d $(DESTDIR)$(LIB_SECURITY) || install -m 755 -d $(DESTDIR)$(LIB_SECURITY) |
|---|
| | 32 | test -d $(DESTDIR)$(SBIN) || install -m 755 -d $(DESTDIR)$(SBIN) |
|---|
| | 33 | test -d $(DESTDIR)$(DOC) || install -m 755 -d $(DESTDIR)$(DOC) |
|---|
| | 34 | install -s -o0 -g0 -m755 $(PAM_MODULE) $(DESTDIR)$(LIB_SECURITY) |
|---|
| | 35 | install -s -o0 -g0 -m755 $(APP) $(DESTDIR)$(SBIN) |
|---|
| | 36 | install -o0 -g0 -m644 doc/* $(DESTDIR)$(DOC) |
|---|
Download in other formats:
* Generating other formats may take time.