|
Revision 81, 297 bytes
(checked in by pguyot, 22 months ago)
|
|
New switch for configure to configure contrib packages.
New contrib package: inwt (interactive NEWT/0).
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | prefix = @prefix@ |
|---|
| 2 | exec_prefix = @exec_prefix@ |
|---|
| 3 | bindir = @bindir@ |
|---|
| 4 | NEWT = $(bindir)/newt |
|---|
| 5 | SCRIPT = inwt |
|---|
| 6 | |
|---|
| 7 | all: $(SCRIPT) |
|---|
| 8 | |
|---|
| 9 | edit = sed \ |
|---|
| 10 | -e 's,@NEWT\@,$(NEWT),g' |
|---|
| 11 | |
|---|
| 12 | $(SCRIPT): $(SCRIPT).nwt |
|---|
| 13 | $(edit) $(SCRIPT).nwt > $@ |
|---|
| 14 | |
|---|
| 15 | install:: |
|---|
| 16 | install -m 755 $(SCRIPT) $(DESTDIR)$(bindir) |
|---|
| 17 | |
|---|
| 18 | clean: |
|---|
| 19 | rm -f $(SCRIPT) |
|---|