summaryrefslogtreecommitdiff
path: root/package/logrotate/logrotate.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2011-09-29 21:57:42 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-09-29 23:09:58 +0200
commit0849e8193ef429f29945b8c2a54eafc8635e0969 (patch)
tree87934d420647a042d53c0332e15d4d02404b8010 /package/logrotate/logrotate.mk
parente055aea216cff4d12cf55eab2e35ca1459edaa91 (diff)
package: remove useless arguments from GENTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/logrotate/logrotate.mk')
-rw-r--r--package/logrotate/logrotate.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/logrotate/logrotate.mk b/package/logrotate/logrotate.mk
index 0e41d6a72..20317f127 100644
--- a/package/logrotate/logrotate.mk
+++ b/package/logrotate/logrotate.mk
@@ -33,4 +33,4 @@ define LOGROTATE_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
-$(eval $(call GENTARGETS,package,logrotate))
+$(eval $(call GENTARGETS))