Changeset cc299bc238b01aaed23622667f7d1d6ab180e551
- Timestamp:
- 02/06/09 13:37:53 (3 years ago)
- Author:
- Frederic Lepied <frederic.lepied@…>
- Children:
- 0cdcde4b0b7371a511bb3681726d4102b8fac1af
- Parents:
- d8ce27d47432d7a952398761c3c0fc9b2b94d025
- git-committer:
- Frederic Lepied <frederic.lepied@…> (02/06/09 13:37:53)
- Message:
-
added an install target
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r30aa6ce
|
rcc299bc
|
|
| 8 | 8 | #--------------------------------------------------------------- |
| 9 | 9 | |
| 10 | | VERSION=0.1 |
| | 10 | VERSION=0.2 |
| | 11 | |
| | 12 | bindir=/usr/bin |
| | 13 | libdir=/usr/share/pxemngr |
| | 14 | etcdir=/etc |
| 11 | 15 | |
| 12 | 16 | all: |
| 13 | | @echo "use 'make dist' to build a tar ball" |
| | 17 | @echo "use 'make dist' to build a tar ball." |
| | 18 | @echo "use 'make install' to install the files in the system." |
| 14 | 19 | @exit 1 |
| | 20 | |
| | 21 | install: |
| | 22 | mkdir -p $(DESTDIR)$(bindir) $(DESTDIR)$(libdir)/pxe $(DESTDIR)$(etcdir) |
| | 23 | install pxe/pxemngr $(DESTDIR)$(bindir)/pxemngr |
| | 24 | install -m 644 pxe/pxemngr.conf $(DESTDIR)$(etcdir)/pxemngr.conf |
| | 25 | install *.py $(DESTDIR)$(libdir)/ |
| | 26 | install pxe/*.py pxe/{addsystem,dpysystem,nextboot,syncbootnames} $(DESTDIR)$(libdir)/pxe/ |
| 15 | 27 | |
| 16 | 28 | dist: clean |