+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME:=setserial
$(DISABLE_LARGEFILE) \
$(DISABLE_NLS) \
)
- touch $(PKG_BUILD_DIR)/.configured
+ touch $@
$(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \
all
- touch $(PKG_BUILD_DIR)/.built
+ touch $@
$(IPKG_SETSERIAL):
install -d -m0755 $(IDIR_SETSERIAL)/etc/init.d
install -m0755 $(PKG_BUILD_DIR)/setserial $(IDIR_SETSERIAL)/usr/sbin/
$(RSTRIP) $(IDIR_SETSERIAL)
$(IPKG_BUILD) $(IDIR_SETSERIAL) $(PACKAGE_DIR)
+
+mostlyclean:
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ clean
+ rm -f $(PKG_BUILD_DIR)/.built
+