This fixes make clean on pppd package (there is no rule uninstall in pppd's makefile)
and does some small bits of cleanup. Signed-off-by: Thiago A. Corrêa <thiago.correa@gmail.com>
This commit is contained in:
parent
f444143da5
commit
558617ddf8
|
@ -26,7 +26,7 @@ $(PPPD_DIR)/.unpacked: $(DL_DIR)/$(PPPD_SOURCE)
|
||||||
$(SED) 's,(INSTALL) -s,(INSTALL),' $(PPPD_DIR)/pppd/plugins/*/Makefile.linux
|
$(SED) 's,(INSTALL) -s,(INSTALL),' $(PPPD_DIR)/pppd/plugins/*/Makefile.linux
|
||||||
$(SED) 's/ -o root//' $(PPPD_DIR)/*/Makefile.linux
|
$(SED) 's/ -o root//' $(PPPD_DIR)/*/Makefile.linux
|
||||||
$(SED) 's/ -g daemon//' $(PPPD_DIR)/*/Makefile.linux
|
$(SED) 's/ -g daemon//' $(PPPD_DIR)/*/Makefile.linux
|
||||||
touch $(PPPD_DIR)/.unpacked
|
touch $@
|
||||||
|
|
||||||
$(PPPD_DIR)/.configured: $(PPPD_DIR)/.unpacked
|
$(PPPD_DIR)/.configured: $(PPPD_DIR)/.unpacked
|
||||||
(cd $(PPPD_DIR); rm -rf config.cache; \
|
(cd $(PPPD_DIR); rm -rf config.cache; \
|
||||||
|
@ -49,7 +49,7 @@ $(PPPD_DIR)/.configured: $(PPPD_DIR)/.unpacked
|
||||||
--infodir=/usr/info \
|
--infodir=/usr/info \
|
||||||
$(DISABLE_NLS) \
|
$(DISABLE_NLS) \
|
||||||
)
|
)
|
||||||
touch $(PPPD_DIR)/.configured
|
touch $@
|
||||||
|
|
||||||
$(PPPD_DIR)/$(PPPD_BINARY): $(PPPD_DIR)/.configured
|
$(PPPD_DIR)/$(PPPD_BINARY): $(PPPD_DIR)/.configured
|
||||||
$(MAKE) CC=$(TARGET_CC) COPTS="$(TARGET_CFLAGS)" -C $(PPPD_DIR)
|
$(MAKE) CC=$(TARGET_CC) COPTS="$(TARGET_CFLAGS)" -C $(PPPD_DIR)
|
||||||
|
@ -65,7 +65,6 @@ pppd-clean:
|
||||||
rm -f $(TARGET_DIR)/usr/sbin/pppd
|
rm -f $(TARGET_DIR)/usr/sbin/pppd
|
||||||
rm -f $(TARGET_DIR)/usr/sbin/chat
|
rm -f $(TARGET_DIR)/usr/sbin/chat
|
||||||
rm -rf $(TARGET_DIR)/etc/ppp
|
rm -rf $(TARGET_DIR)/etc/ppp
|
||||||
$(MAKE) DESTDIR=$(TARGET_DIR)/usr CC=$(TARGET_CC) -C $(PPPD_DIR) uninstall
|
|
||||||
-$(MAKE) -C $(PPPD_DIR) clean
|
-$(MAKE) -C $(PPPD_DIR) clean
|
||||||
|
|
||||||
pppd-dirclean:
|
pppd-dirclean:
|
||||||
|
|
Loading…
Reference in New Issue