Skip to content

Commit

Permalink
Deconditionalize adding extra files to dist
Browse files Browse the repository at this point in the history
  • Loading branch information
XRevan86 committed Mar 24, 2016
1 parent 03873f3 commit 1d2ce65
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions gtk/mate/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
EXTRA_DIST = \
compiz.desktop.in

if USE_MATE
desktopfilesdir = $(DESTDIR)$(datadir)/applications
desktopfiles_in_files = compiz.desktop.in
Expand All @@ -22,7 +25,5 @@ endif
noinst_DATA = \
$(desktopfiles_files)

EXTRA_DIST = \
$(desktopfiles_in_files)
DISTCLEANFILES = \
$(noinst_DATA)
6 changes: 3 additions & 3 deletions gtk/window-decorator/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ if USE_GSETTINGS
gsettings_SCHEMAS = org.compiz-0.gwd.gschema.xml

@GSETTINGS_RULES@

EXTRA_DIST = \
$(gsettings_SCHEMAS)
endif

EXTRA_DIST = \
org.compiz-0.gwd.gschema.xml

AM_CPPFLAGS = \
-I$(top_srcdir)/include \
@GTK_WINDOW_DECORATOR_CFLAGS@ \
Expand Down
6 changes: 3 additions & 3 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ compiz_SOURCES = \
match.c \
metadata.c

EXTRA_DIST = \
compiz-start.desktop.in

if USE_MENU_ENTRIES
desktopfilesdir = $(DESTDIR)$(datadir)/applications
desktopfiles_in_files = compiz-start.desktop.in
Expand All @@ -53,7 +56,4 @@ uninstall-local:

noinst_DATA = \
$(desktopfiles_files)

EXTRA_DIST = \
$(desktopfiles_in_files)
endif

0 comments on commit 1d2ce65

Please sign in to comment.