Last change
on this file since 273 was
57,
checked in by g7moreau, 13 years ago
|
|
-
Property svn:eol-style set to
native
|
File size:
757 bytes
|
Rev | Line | |
---|
[57] | 1 | |
---|
| 2 | # General configuration |
---|
| 3 | |
---|
| 4 | PODFLAG := -c 'User Profile Documentation' -r 'LEGI Trokata' |
---|
| 5 | |
---|
| 6 | TARGET_MAN := bundle.1 |
---|
| 7 | TARGET_HTML := bundle.html |
---|
| 8 | |
---|
| 9 | PREFIX :=/etc/sysprofile.d |
---|
| 10 | PREFIX_MAN :=/usr/share/man |
---|
| 11 | |
---|
| 12 | |
---|
| 13 | # User specific configuration |
---|
| 14 | |
---|
| 15 | sinclude config.mk |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | # Target and rules |
---|
| 19 | |
---|
| 20 | .PHONY: all clean install update sync upload |
---|
| 21 | |
---|
| 22 | all: $(TARGET_MAN) $(TARGET_HTML) |
---|
| 23 | |
---|
| 24 | clean: |
---|
| 25 | rm -f *.1 *.html |
---|
| 26 | |
---|
| 27 | install: update |
---|
| 28 | |
---|
| 29 | update: |
---|
| 30 | @install -d -m 0755 -o root -g root $(PREFIX_MAN)/man1 |
---|
| 31 | install -m 0644 -o root -g root bundle.bash $(PREFIX)/ |
---|
| 32 | install -m 0644 -o root -g root bundle.1 $(PREFIX_MAN)/man1 |
---|
| 33 | |
---|
| 34 | sync: |
---|
| 35 | svn update |
---|
| 36 | |
---|
| 37 | upload: |
---|
| 38 | cadaver --rcfile=cadaverrc |
---|
| 39 | |
---|
| 40 | %.1: %.bash |
---|
| 41 | pod2man -n $* $(PODFLAG) $< > $@ |
---|
| 42 | |
---|
| 43 | %.html: %.bash |
---|
| 44 | pod2html $< > $@ |
---|
| 45 | |
---|
| 46 | # User specific rules |
---|
| 47 | |
---|
| 48 | sinclude rules.mk |
---|
Note: See
TracBrowser
for help on using the repository browser.