generate packages targets