205 | | # $(INSTALL_DIR) $(ROOT)/etc/ |
206 | | $(INSTALL_DIR) $(ROOT)/etc/inittab.d |
207 | | # $(INSTALL_EXEC) ../doc/initscript.sample $(ROOT)/etc/ |
208 | | ln -sf halt $(ROOT)/sbin/reboot |
209 | | ln -sf halt $(ROOT)/sbin/poweroff |
210 | | ln -sf init $(ROOT)/sbin/telinit |
211 | | ln -sf /sbin/killall5 $(ROOT)/bin/pidof |
212 | | if [ ! -f $(ROOT)/usr/bin/lastb ]; then \ |
213 | | ln -sf last $(ROOT)/usr/bin/lastb; \ |
| 215 | # $(INSTALL_DIR) $(DESTDIR)/etc/ |
| 216 | $(INSTALL_DIR) $(DESTDIR)/etc/inittab.d |
| 217 | # $(INSTALL_EXEC) ../doc/initscript.sample $(DESTDIR)/etc/ |
| 218 | ln -sf halt $(DESTDIR)/sbin/reboot |
| 219 | ln -sf halt $(DESTDIR)/sbin/poweroff |
| 220 | ln -sf init $(DESTDIR)/sbin/telinit |
| 221 | ln -sf /sbin/killall5 $(DESTDIR)/bin/pidof |
| 222 | if [ ! -f $(DESTDIR)/usr/bin/lastb ]; then \ |
| 223 | ln -sf last $(DESTDIR)/usr/bin/lastb; \ |
215 | | $(INSTALL_DIR) $(ROOT)/usr/include/ |
216 | | $(INSTALL_DATA) initreq.h $(ROOT)/usr/include/ |
217 | | for lang in '' $(subst ../man/,,$(wildcard ../man/po/??/)); do \ |
218 | | $(INSTALL_DIR) $(ROOT)$(MANDIR)/man1/$$lang; \ |
219 | | $(INSTALL_DIR) $(ROOT)$(MANDIR)/man5/$$lang; \ |
220 | | $(INSTALL_DIR) $(ROOT)$(MANDIR)/man8/$$lang; \ |
221 | | done |
222 | | for man in $(MAN1) $(subst ../man/,,$(foreach man,$(MAN1),$(wildcard ../man/??/$(man)))); do \ |
223 | | $(INSTALL_DATA) ../man/$$man $(ROOT)$(MANDIR)/man1/$$man; \ |
224 | | sed -i "1{ $(MANDB); }" $(ROOT)$(MANDIR)/man1/$$man ; \ |
225 | | done |
226 | | for man in $(MAN5) $(subst ../man/,,$(foreach man,$(MAN5),$(wildcard ../man/??/$(man)))); do \ |
227 | | $(INSTALL_DATA) ../man/$$man $(ROOT)$(MANDIR)/man5/$$man; \ |
228 | | sed -i "1{ $(MANDB); }" $(ROOT)$(MANDIR)/man5/$$man ; \ |
| 225 | $(INSTALL_DIR) $(DESTDIR)/usr/include/ |
| 226 | $(INSTALL_DATA) initreq.h $(DESTDIR)/usr/include/ |
| 227 | for lang in '' $(subst ../man/,,$(wildcard ../man/??/)); do \ |
| 228 | [ x"$$lang" = 'xpo/' ] && continue; \ |
| 229 | $(INSTALL_DIR) $(DESTDIR)$(MANDIR)/$$lang/man1; \ |
| 230 | $(INSTALL_DIR) $(DESTDIR)$(MANDIR)/$$lang/man5; \ |
| 231 | $(INSTALL_DIR) $(DESTDIR)$(MANDIR)/$$lang/man8; \ |
| 232 | done |
| 233 | |
| 234 | for lang in '' $(subst ../man/,,$(wildcard ../man/??/)); do \ |
| 235 | [ x"$$lang" = "xpo/" ] && continue; \ |
| 236 | for man in $(MAN1); do \ |
| 237 | echo "Man page ../man/$$lang/$$man"; \ |
| 238 | if ! test -f "../man/$$lang/$$man"; then continue; fi; \ |
| 239 | $(INSTALL_DATA) ../man/$$lang/$$man $(DESTDIR)/usr/share/man/$$lang/man1/$$man; \ |
| 240 | done; \ |
| 241 | for man in $(MAN5); do \ |
| 242 | echo "Man page ../man/$$lang/$$man"; \ |
| 243 | if ! test -f "../man/$$lang/$$man"; then continue; fi; \ |
| 244 | $(INSTALL_DATA) ../man/$$lang/$$man $(DESTDIR)/usr/share/man/$$lang/man5/$$man; \ |
| 245 | done; \ |
| 246 | for man in $(MAN8); do \ |
| 247 | echo "Man page ../man/$$lang/$$man"; \ |
| 248 | if ! test -f "../man/$$lang/$$man"; then continue; fi; \ |
| 249 | $(INSTALL_DATA) ../man/$$lang/$$man $(DESTDIR)/usr/share/man/$$lang/man8/$$man; \ |
| 250 | done; \ |