Skip to content

Commit

Permalink
Build system: fix handling of desktop files for 'make dist' based on …
Browse files Browse the repository at this point in the history
…applet type.
  • Loading branch information
malept committed Aug 27, 2009
1 parent c275edc commit bbdbad2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Makefile.c-applet
Expand Up @@ -11,3 +11,7 @@ AM_CFLAGS = \
APPLET_LINKER_FLAGS = -module -avoid-version

appletdir = $(libdir)/awn/applets/$(APPLET_NAME)

EXTRA_DIST += \
$(desktop_DATA:.desktop=.desktop.in.in) \
$(NULL)
2 changes: 1 addition & 1 deletion Makefile.desktop-files
Expand Up @@ -11,6 +11,6 @@ desktop_DATA = $(APPLET_NAME).desktop

EXTRA_DIST = \
$(icon_DATA) \
$(desktop_DATA).in
$(NULL)

CLEANFILES = $(desktop_DATA)
4 changes: 4 additions & 0 deletions Makefile.python-applet
Expand Up @@ -5,3 +5,7 @@ include $(top_srcdir)/Makefile.desktop-files
appletdir = $(applet_datadir)

dist_applet_SCRIPTS = $(APPLET_MAIN_FILE)

EXTRA_DIST += \
$(desktop_DATA:.desktop:=.desktop.in) \
$(NULL)

0 comments on commit bbdbad2

Please sign in to comment.